diff --git a/crates/vec-const/RUSTSEC-0000-0000.md b/crates/vec-const/RUSTSEC-0000-0000.md new file mode 100644 index 0000000..f5d409f --- /dev/null +++ b/crates/vec-const/RUSTSEC-0000-0000.md @@ -0,0 +1,17 @@ +```toml +[advisory] +id = "RUSTSEC-0000-0000" +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.