You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 3, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 3, 2026. It is now read-only.
Potential soundness/security issue via unchecked iterator length in Chunk::insert_from #33
The issue in Chunk::insert_from appears to stem from trusting unvalidated iterator length metadata and using it in unchecked arithmetic.
A malformed iterator can report usize::MAX, causing expressions such as:
self.len() + insert_size
to overflow in release builds (due to wrapping semantics). This may bypass capacity checks and produce invalid insertion ranges.
The resulting metadata inconsistency propagates into internal write paths, where unchecked indices may reach unsafe memory operations, potentially leading to out-of-bounds access and undefined behavior.
Activity