mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-01-05 19:20:34 +01:00
Add advisory for data race in concread (#532)
This commit is contained in:
19
crates/concread/RUSTSEC-0000-0000.md
Normal file
19
crates/concread/RUSTSEC-0000-0000.md
Normal file
@@ -0,0 +1,19 @@
|
||||
```toml
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
package = "concread"
|
||||
date = "2020-11-13"
|
||||
url = "https://github.com/kanidm/concread/issues/48"
|
||||
informational = "unsound"
|
||||
|
||||
[versions]
|
||||
patched = [">= 0.2.6"]
|
||||
```
|
||||
|
||||
# Send/Sync bound needed on V in `impl Send/Sync for ARCache<K, V>`
|
||||
|
||||
Affected versions of this crate unconditionally implemented `Send`/`Sync` traits for `ARCache<K, V>` type.
|
||||
|
||||
This allows users to send/access types that do not implement `Send`/`Sync`, which can cause a data race.
|
||||
|
||||
The flaw was corrected in the 0.2.6 release by adding bounds `K: Send + Sync` & `V: Send + Sync` to affected `Send`/`Sync` trait implementations.
|
||||
Reference in New Issue
Block a user