about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-11 22:38:56 +0200
committerGitHub <noreply@github.com>2024-04-11 22:38:56 +0200
commitd8ae975c02f22430187ba67b18e402382222ac99 (patch)
tree4e946cdeb1a35c6a87e499990799562dc566d18c /compiler/rustc_codegen_gcc
parent17a8ee636f3f069861bca5895e47e91fa6a1c183 (diff)
parent91fe6f9343a384dd7d598705a4bc4b137845dbea (diff)
downloadrust-d8ae975c02f22430187ba67b18e402382222ac99.tar.gz
rust-d8ae975c02f22430187ba67b18e402382222ac99.zip
Rollup merge of #123806 - joboet:advanced_overflow, r=Amanieu
Panic on overflow in `BorrowedCursor::advance`

Passing `usize::MAX` to `advance` clearly isn't correct, but the current assertion fails to detect this when overflow checks are disabled. This isn't unsound, but should probably be fixed regardless.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions