mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-01-08 04:27:11 +01:00
Update vec-const advisory (#1081)
This commit is contained in:
@@ -9,9 +9,11 @@ keywords = ["memory-safety"]
|
||||
informational = "unsound"
|
||||
|
||||
[versions]
|
||||
patched = []
|
||||
patched = [">= 2.0.0"]
|
||||
```
|
||||
|
||||
# vec-const attempts to construct a Vec from a pointer to a const slice
|
||||
|
||||
This crate claims 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.
|
||||
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`.
|
||||
|
||||
Reference in New Issue
Block a user