RUSTSEC-2021-0045 on 2021-01-11: FromIterator implementation for Vector/Matrix can drop uninitialized memory

The FromIterator<T> methods for Vector and Matrix rely on the type parameter N to allocate space in the iterable.

If the passed in N type parameter is larger than the number of items returned by the iterator, it can lead to uninitialized memory being left in the Vector or Matrix type which gets dropped.

CVE-2021-29936

GHSA-rg4m-gww5-7p47

This crate has no reviews yet. To add a review, set up your cargo-crev.


Lib.rs has been able to verify that all files in the crate's tarball are in the crate's repository. Please note that this check is still in beta, and absence of this confirmation does not mean that the files don't match.

Crates in the crates.io registry are tarball snapshots uploaded by crates' publishers. The registry is not using crates' git repositories, so there is a possibility that published crates have a misleading repository URL, or contain different code from the code in the repository.

To review the actual code of the crate, it's best to use cargo crev open adtensor. Alternatively, you can download the tarball of adtensor v0.0.3 or view the source online.