Report data race/memory corruption in crossbeam 0.2 (#1260)

This commit is contained in:
Ben Kimock
2022-06-07 19:10:09 -04:00
committed by GitHub
parent f79eb4bad9
commit 6a769d1d24

View File

@@ -0,0 +1,16 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "crossbeam"
date = "2022-06-07"
categories = ["thread-safety", "memory-corruption"]
url = "https://github.com/crossbeam-rs/crossbeam/pull/98"
[versions]
patched = [">= 0.3.0"]
```
# `MsQueue` `push`/`pop` use the wrong orderings
Affected versions of this crate use orderings which are too weak to support this data structure.
It is likely this has caused memory corruption in the wild: <https://github.com/crossbeam-rs/crossbeam/issues/97#issuecomment-412785919>.