MEDIUM
GHSA-jmwx-r3gq-qq3p
vec-const attempts to construct a Vec from a pointer to a const slice
Details
Affected versions of this crate claimed to construct a const `Vec` with nonzero length and capacity, but that cannot be done because such a `Vec` requires a pointer from an allocator.
The implementation was later changed to just construct a `std::borrow::Cow`.
Are you affected?
Enter the version of the package you're using.
Affected packages
crates.io/vec-const
Introduced in:
0Fixed in: 2.0.0Upgrade vec-const to 2.0.0 or newer (ecosystem crates.io).