Skip to content
OpenAdvisories

Package · crates.io

id-map

2 known vulnerabilities.

2 results · Feed

  • Medium —

    IdMap from_iter may lead to uninitialized memory being freed on drop

    Due to a flaw in the constructor `id_map::IdMap::from_iter`, ill-formed objects may be created in which the amount of actually initialized memory is less than what is expected by the fields of `IdMap`. Specifically, the field `ids` is initialized based on the…

  • Critical 9.8

    Double-free in id-map

    An issue was discovered in the id-map crate through 2021-02-26 for Rust. A double free can occur in IdMap::clone_from upon a .clone panic.