RustSec Advisory Database
RUSTSEC-2020-0041
Multiple soundness issues in Chunk and InlineArray
Details
Chunk:
- Array size is not checked when constructed with
unit()andpair(). - Array size is not checked when constructed with
From<InlineArray<A, T>>. Cloneandinsert_fromare 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 | From 0.0.0-0 before 0.6.3 (fixed in 0.6.3) |