You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/vec-const/RUSTSEC-2021-0082.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,11 @@ keywords = ["memory-safety"]
9
9
informational = "unsound"
10
10
11
11
[versions]
12
-
patched = []
12
+
patched = [">= 2.0.0"]
13
13
```
14
14
15
15
# vec-const attempts to construct a Vec from a pointer to a const slice
16
16
17
-
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.
17
+
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.
18
+
19
+
The implementation was later changed to just construct a `std::borrow::Cow`.
0 commit comments