RUSTSEC-2020-0032

StrcCtx deallocates a memory region that it doesn't own

Issued
Package
alpm-rs (crates.io)
Type
Unsound
Aliases
Details
https://github.com/pigeonhands/rust-arch/issues/2
Patched
no patched versions

Description

StrcCtx deallocate a memory region that it doesn't own when StrcCtx is created without using StrcCtx::new. This can introduce memory safety issues such as double-free and use-after-free to client programs.

More