mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-01-17 17:07:58 +01:00
Merge pull request #75 from stjepang/crossbeam-0.4.0
A bug in crossbeam v0.4.0
This commit is contained in:
19
crates/crossbeam/RUSTSEC-0000-0000.toml
Normal file
19
crates/crossbeam/RUSTSEC-0000-0000.toml
Normal file
@@ -0,0 +1,19 @@
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
package = "crossbeam"
|
||||
date = "2018-12-09"
|
||||
title = "MsQueue and SegQueue suffer from double-free"
|
||||
description = """
|
||||
Even if an element is popped from a queue, crossbeam would run its
|
||||
destructor inside the epoch-based garbage collector. This is a source
|
||||
of double frees.
|
||||
|
||||
The flaw was corrected by wrapping elements inside queues in a
|
||||
`ManuallyDrop`.
|
||||
|
||||
Thanks to @c0gent for reporting the issue.
|
||||
"""
|
||||
patched_versions = [">= 0.4.1"]
|
||||
unaffected_versions = ["< 0.4.0"]
|
||||
url = "https://github.com/crossbeam-rs/crossbeam-epoch/issues/82"
|
||||
keywords = ["concurrency", "memory-management", "memory-corruption"]
|
||||
Reference in New Issue
Block a user