In the standard library in Rust before 1.53.0, a double free can occur in the Vec::from_iter function if freeing the element panics.
In the standard library in Rust before 1.53.0, a double free can occur in the Vec::from_iter function if freeing the element panics.
https://github.com/rust-lang/rust/issues/83618 https://github.com/rust-lang/rust/pull/83629 https://github.com/rust-lang/rust/commit/542f441d445026d0996eebee9ddddee98f5dc3e5