mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-01-04 18:50:34 +01:00
18 lines
539 B
Markdown
18 lines
539 B
Markdown
```toml
|
|
[advisory]
|
|
id = "RUSTSEC-2020-0133"
|
|
package = "scottqueue"
|
|
date = "2020-11-15"
|
|
url = "https://github.com/rossdylan/rust-scottqueue/issues/1"
|
|
categories = ["memory-corruption", "thread-safety"]
|
|
|
|
[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.
|