RustSec Advisory Database
RUSTSEC-2020-0033
Matrix::new() drops uninitialized memory
Details
Matrix::new() internally calls Matrix::fill_with() which uses *ptr = value pattern to initialize the buffer. This pattern assumes that there is an initialized struct at the address and drops it, which results in dropping of uninitialized struct.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | alg_ds | From 0.0.0-0, no fix listed |