GitHub Advisory Database
GHSA-x54v-qxxr-93qc
Missing release of memory in sized-chunks
Details
Chunk:
- Array size is not checked when constructed with unit() and pair().
- Array size is not checked when constructed with From<InlineArray<A, T>>.
- Clone and insert_from are not panic-safe; A panicking iterator causes memory safety issues with them.
InlineArray:
- Generates unaligned references for types with a large alignment requirement.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | sized-chunks | All versions before 0.6.3 (fixed in 0.6.3) |