RUSTSEC-2021-0082

vec-const attempts to construct a Vec from a pointer to a const slice

Issued
Package
vec-const (crates.io)
Type
Unsound
Categories
  • memory-corruption
Details
https://github.com/Eolu/vec-const/issues/1#issuecomment-898908241
Patched
no patched versions
Keywords
  • memory-safety

Description

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.

More