An issue was discovered in the scratchpad crate before 1.3.1 for Rust. The move_elements function can have a double-free upon a panic in a user-provided f function.
The product calls free() twice on the same memory address.
Link | Tags |
---|---|
https://rustsec.org/advisories/RUSTSEC-2021-0030.html | third party advisory patch |