- Reported
-
- Issued
-
- Package
-
vec-const
(crates.io)
- Type
-
INFO
Unsound
- Categories
-
- Keywords
-
#memory-safety
- Aliases
-
- References
-
- Patched
-
Description
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
.
Advisory available under CC0-1.0
license.