diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-27 08:56:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-27 08:56:36 +0100 |
| commit | 18c47ad639b17824f4756397b4882d7e5271c3d4 (patch) | |
| tree | 376a036b0a09d09b02d263832dd9812cd3e72ff0 /compiler/rustc_parse/src | |
| parent | f435138da9ce4d29feb731bd0db32f1c880b5663 (diff) | |
| parent | 3477297c374f2b12a5846b8b522b1e69ea08cc5e (diff) | |
| download | rust-18c47ad639b17824f4756397b4882d7e5271c3d4.tar.gz rust-18c47ad639b17824f4756397b4882d7e5271c3d4.zip | |
Rollup merge of #136579 - bjorn3:fix_thinvec_ext_ub, r=BoxyUwU
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. Found in the process of investigating https://github.com/rust-lang/rust/issues/135870.
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions
