GitHub Advisory Database
GHSA-rh89-x75f-rh3c
Exposure of uninitialized memory in memoffset
Details
Affected versions of this crate caused traps and/or memory unsafety by zero-initializing references. They also could lead to uninitialized memory being dropped if the field for which the offset is requested was behind a deref coercion, and that deref coercion caused a panic. The flaw was corrected by using MaybeUninit.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | memoffset | All versions before 0.5.0 (fixed in 0.5.0) |