Files
advisory-db/crates/vec-const/RUSTSEC-2021-0082.md
2021-08-21 19:08:23 -06:00

515 B

[advisory]
id = "RUSTSEC-2021-0082"
package = "vec-const"
date = "2021-08-14"
url = "https://github.com/Eolu/vec-const/issues/1#issuecomment-898908241"
categories = ["memory-corruption"]
keywords = ["memory-safety"]
informational = "unsound"

[versions]
patched = []

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.