Merge pull request #360 from Qwaz/0006-alpm-rs

StrcCtx deallocates a memory region that it doesn't own
This commit is contained in:
Sergey "Shnatsel" Davidoff
2020-08-25 22:30:22 +02:00
committed by GitHub

View File

@@ -0,0 +1,14 @@
[advisory]
id = "RUSTSEC-0000-0000"
package = "alpm-rs"
date = "2020-08-20"
informational = "unsound"
title = "StrcCtx deallocates a memory region that it doesn't own"
url = "https://github.com/pigeonhands/rust-arch/issues/2"
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.
"""
[versions]
patched = []