mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-26 16:07:48 +01:00
Merge pull request #583 from setuid0x0/may_queue
Add advisory for data race in may_queue
This commit is contained in:
18
crates/may_queue/RUSTSEC-0000-0000.md
Normal file
18
crates/may_queue/RUSTSEC-0000-0000.md
Normal file
@@ -0,0 +1,18 @@
|
||||
```toml
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
package = "may_queue"
|
||||
date = "2020-11-10"
|
||||
url = "https://github.com/Xudong-Huang/may/issues/88"
|
||||
categories = ["memory-corruption"]
|
||||
keywords = ["concurrency"]
|
||||
|
||||
[versions]
|
||||
patched = []
|
||||
```
|
||||
|
||||
# may_queue's Queue lacks Send/Sync bound for its Send/Sync trait.
|
||||
|
||||
Affected versions of `may_queue` implements `Send`/`Sync` for its `Queue` type without restricting it to `Send`able types and `Sync`able types.
|
||||
|
||||
This allows non-`Sync` types such as `Cell` to be shared across threads leading to undefined behavior and memory corruption in concurrent programs.
|
||||
Reference in New Issue
Block a user