mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-31 00:30:25 +01:00
Merge pull request #651 from JOE1994/0043-scottqueue
scottqueue: Queue<T> should have a Send bound on its Send/Sync traits
This commit is contained in:
17
crates/scottqueue/RUSTSEC-0000-0000.md
Normal file
17
crates/scottqueue/RUSTSEC-0000-0000.md
Normal file
@@ -0,0 +1,17 @@
|
||||
```toml
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
package = "scottqueue"
|
||||
date = "2020-11-15"
|
||||
url = "https://github.com/rossdylan/rust-scottqueue/issues/1"
|
||||
categories = ["memory-corruption"]
|
||||
|
||||
[versions]
|
||||
patched = []
|
||||
```
|
||||
|
||||
# Queue<T> should have a Send bound on its Send/Sync traits
|
||||
|
||||
Affected versions of this crate unconditionally implements `Send`/`Sync` for `Queue<T>`.
|
||||
|
||||
This allows (1) creating data races to a `T: !Sync` and (2) sending `T: !Send` to other threads, resulting in memory corruption or other undefined behavior.
|
||||
Reference in New Issue
Block a user