Files
rust/library
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
..
2023-11-21 16:33:42 +01:00
2023-08-23 20:05:14 -04:00
2023-10-12 11:11:29 +02:00
2024-01-11 15:26:16 +00:00