Inappropriate coding practices In rust-thin-vec
Description
Double-Free / Use-After-Free (UAF) in the IntoIter::drop and ThinVec::clear functions in the thin_vec crate. A panic in ptr::drop_in_place skips setting the length to zero.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
debian 13 | - | ||
debian 14 | 0.2.17-1 | ||
cargo | 0.2.16 |
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1. 2.