diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-01-24 15:40:41 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-02-26 15:49:19 +0000 |
| commit | 3477297c374f2b12a5846b8b522b1e69ea08cc5e (patch) | |
| tree | d509b1b7a3f585925d16f4eef6386a1f075e8cda /compiler/rustc_codegen_llvm/src | |
| parent | 2af87eab3b4890d62ad998cf9c55e076d91bf06a (diff) | |
| download | rust-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_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
