Bug#999502: Acknowledgement (linux-image-5.10.0-9-amd64: read from pty does not return newline on 64-byte boundaries)

2021-11-11 Thread John Bazik
Here's the output of the test program that we see under bullseye, kernel 5.10.0.-9: $ ./rbpty TEST len 130 text [123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 ] 130 bytes read buf read: [123456789012345

Bug#999502: linux-image-5.10.0-9-amd64: read from pty does not return newline on 64-byte boundaries

2021-11-11 Thread John Bazik
Package: src:linux Version: 5.10.70-1 Severity: normal Tags: upstream Dear Maintainer, When reading from a pty, a call to read(2) always returns a string ending in a newline, except when the text written to the pty contains a multiple of 64 characters, plus the newline. In the exceptional case