ADVISORIES

GitHub Advisory Database

GHSA-rccq-j2m7-8fwr

Double-free in id-map

Details

A double free can occur in remove_set upon a panic in a Drop impl. When removing a set of elements, ptr::drop_in_place is called on each of the element to be removed. If the Drop impl of one of these elements panics then the previously dropped elements can be dropped again.

Affected packages

EcosystemPackageAffected versions
crates.ioid-map
All versions up to and including 0.2.1

References