Files
rust/library/std
Matthias Krüger d8e9ddc843 Rollup merge of #120607 - conradludgate:fix-120603, r=dtolnay
fix #120603 by adding a check in default_read_buf

Fixes #120603 by checking the returned read n is in-bounds of the cursor.

Interestingly, I noticed that `BorrowedBuf` side-steps this issue by using checked accesses. Maybe this can be switched to unchecked to mirror what BufReader does https://github.com/rust-lang/rust/blob/bf3c6c5bed498f41ad815641319a1ad9bcecb8e8/library/core/src/io/borrowed_buf.rs#L95
2024-02-05 06:37:16 +01:00
..
2020-07-27 19:51:13 -05:00
2024-01-22 10:15:11 -08:00
2024-02-01 23:58:42 -03:00