Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #73656 > unrolled thread

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

Started byJohn Bazik <john_bazik@brown.edu>
First post2021-11-12 04:10 +0100
Last post2021-11-12 04:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#999502: Acknowledgement (linux-image-5.10.0-9-amd64: read from pty does not return newline on 64-byte boundaries) John Bazik <john_bazik@brown.edu> - 2021-11-12 04:10 +0100

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

FromJohn Bazik <john_bazik@brown.edu>
Date2021-11-12 04:10 +0100
SubjectBug#999502: Acknowledgement (linux-image-5.10.0-9-amd64: read from pty does not return newline on 64-byte boundaries)
Message-ID<Div6W-8rq-3@gated-at.bofh.it>
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: [123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
]
TEST len 129 text [12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
]
     128 bytes read
     1 bytes read
     buf read: [12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
]
TEST len 128 text [1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567
]
     128 bytes read
     buf read: [1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567
]
TEST len 66 text [12345678901234567890123456789012345678901234567890123456789012345
]
     66 bytes read
     buf read: [12345678901234567890123456789012345678901234567890123456789012345
]
TEST len 65 text [1234567890123456789012345678901234567890123456789012345678901234
]
     64 bytes read
     1 bytes read
     buf read: [1234567890123456789012345678901234567890123456789012345678901234
]
TEST len 64 text [123456789012345678901234567890123456789012345678901234567890123
]
     64 bytes read
     buf read: [123456789012345678901234567890123456789012345678901234567890123
]

And here is the output of the same program under buster, kernel 4.19.0-18:

$ src/rbpty
TEST len 130 text [123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
]
     130 bytes read
     buf read: [123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
]
TEST len 129 text [12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
]
     129 bytes read
     buf read: [12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
]
TEST len 128 text [1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567
]
     128 bytes read
     buf read: [1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567
]
TEST len 66 text [12345678901234567890123456789012345678901234567890123456789012345
]
     66 bytes read
     buf read: [12345678901234567890123456789012345678901234567890123456789012345
]
TEST len 65 text [1234567890123456789012345678901234567890123456789012345678901234
]
     65 bytes read
     buf read: [1234567890123456789012345678901234567890123456789012345678901234
]
TEST len 64 text [123456789012345678901234567890123456789012345678901234567890123
]
     64 bytes read
     buf read: [123456789012345678901234567890123456789012345678901234567890123
]

John

[toc] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web