An issue was discovered in the alg_ds crate through 2020-08-25 for Rust. 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.
{
"severity": "CRITICAL",
"github_reviewed_at": "2021-08-09T21:22:58Z",
"cwe_ids": [
"CWE-665",
"CWE-908"
],
"nvd_published_at": "2021-08-08T06:15:00Z",
"github_reviewed": true
}