Uh oh!
There was an error while loading. Please reload this page.
protect std::io::Take::limit from overflow in read - #95040
Conversation
rust-highfive
commented
Mar 17, 2022
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @dtolnay (or someone else) soon. Please see the contribution instructions for more information. |
Uh oh!
There was an error while loading. Please reload this page.
dd72dbc to
ed528acComparedtolnay
commented
Apr 16, 2022
r? rust-lang/libs |
JohnCSimon
commented
May 22, 2022
triage: |
frank-king
commented
May 23, 2022
@JohnCSimon I think the current state is: first @dtolnay suggested to panic in |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Mark-Simulacrum
commented
Jul 24, 2022
I think this is OK and does not need a dedicated T-libs-api FCP, even though it's technically a behavior change. It's hard to imagine code intentionally returning a too large read bytes size from read(), and we've already had two members of T-libs-api sign off on the change, so I think it's probably not necessary. @bors r+ |
bors
commented
Jul 24, 2022
Rollup of 7 pull requests Successful merges: - rust-lang#95040 (protect `std::io::Take::limit` from overflow in `read`) - rust-lang#95916 (kmc-solid: Use `libc::abort` to abort a program) - rust-lang#99494 (Use non-relocatable code in nofile-limit.rs test) - rust-lang#99581 (Improve error messages involving `derive` and `packed`.) - rust-lang#99643 (Add `sign-ext` target feature to the WASM target) - rust-lang#99659 (Use `VecMap::get` in `ConstraintLocator::check`) - rust-lang#99690 (add miri-track-caller to more intrinsic-exposing methods) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Resolves#94981