RUSTSEC-2020-0032: alpm-rs: StrcCtx deallocates a memory region that it doesn't own

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 Info

https://github.com/pigeonhands/rust-arch/issues/2

Patched Versions