mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 13:06:28 +03:00
a98df54bdc
Fix crash in BufReader::peek() `bufreader_peek` tracking issue: #128405 This fixes a logic error in `Buffer::read_more()` that would make `BufReader::peek()` expose uninitialized data and/or segfault if `read_more()` was called with a partially-full buffer and a non-empty inner reader.