about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-01-24 15:40:41 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-02-26 15:49:19 +0000
commit3477297c374f2b12a5846b8b522b1e69ea08cc5e (patch)
treed509b1b7a3f585925d16f4eef6386a1f075e8cda /compiler/rustc_interface/src/errors.rs
parent2af87eab3b4890d62ad998cf9c55e076d91bf06a (diff)
downloadrust-3477297c374f2b12a5846b8b522b1e69ea08cc5e.tar.gz
rust-3477297c374f2b12a5846b8b522b1e69ea08cc5e.zip
Fix UB in ThinVec::flat_map_in_place
thin_vec.as_ptr() goes through the Deref impl of ThinVec, which will
not allow access to any memory as we did call set_len(0) first.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions