Closed
Description
Hello,
we (Rust group @sslab-gatech) found a memory-safety/soundness issue in this crate while scanning Rust code on crates.io for potential vulnerabilities.
Issue Description
Lines 138 to 151 in 5c810a8
User provided T::clone()
can potentially panic, and if T::clone()
panics while vec
is (partially) uninitialized, uninitialized memory (uninitialized T
) is dropped and can lead to undefined behavior.
Thank you for checking out this issue :)
Metadata
Metadata
Assignees
Labels
No labels