ADVISORIES

RustSec Advisory Database

RUSTSEC-2020-0041

Multiple soundness issues in Chunk and InlineArray

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

EcosystemPackageAffected versions
crates.iosized-chunks
From 0.0.0-0 before 0.6.3 (fixed in 0.6.3)

References