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 bf3c6c5bed/library/core/src/io/borrowed_buf.rs (L95)
2024-02-05 06:37:16 +01:00
..
benches mv std libs to library/ 2020-07-27 19:51:13 -05:00
src Rollup merge of #120607 - conradludgate:fix-120603, r=dtolnay 2024-02-05 06:37:16 +01:00
tests Add test of thread_local containing multiline const block 2024-01-20 19:00:27 -08:00
build.rs zkvm: add partial std support 2024-01-22 10:15:11 -08:00
Cargo.toml Update libc to 0.2.153 2024-02-01 23:58:42 -03:00