Skip to content
OpenAdvisories

Package · crates.io

maligned

1 known vulnerabilities.

1 result · Feed

  • Medium —

    Maligned causes incorrect deallocation

    `maligned::align_first` manually allocates with an alignment larger than T, and then uses `Vec::from_raw_parts` on that allocation to get a `Vec<T>`. [`GlobalAlloc::dealloc`](https://doc.rust-lang.org/std/alloc/trait.GlobalAlloc.html#tymethod.dealloc) require…