]> git.lizzy.rs Git - rust.git/commit - compiler/rustc_codegen_cranelift/src/compiler_builtins.rs
Rollup merge of #95040 - frank-king:fix/94981, r=Mark-Simulacrum
authorYuki Okushi <jtitor@2k36.org>
Mon, 25 Jul 2022 09:46:47 +0000 (18:46 +0900)
committerGitHub <noreply@github.com>
Mon, 25 Jul 2022 09:46:47 +0000 (18:46 +0900)
commit0ecbcbb0ace4229f59e09de035ccef747b024e00
treee7fae9c81da63a062a316547669bdac59a968e4e
parent7f93d4aa0dc4ac071c617e0e07d2758e3bb388f9
parent64ac04567ba397f8600952e3875b9a197f7b2910
Rollup merge of #95040 - frank-king:fix/94981, r=Mark-Simulacrum

protect `std::io::Take::limit` from overflow in `read`

Resolves #94981
library/std/src/io/mod.rs
library/std/src/io/tests.rs