mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-30 00:03:57 +01:00
Merge pull request #692 from JOE1994/0039-rcu_cell
rcu_cell: Send/Sync bound needed on T for Send/Sync impl of RcuCell<T>
This commit is contained in:
18
crates/rcu_cell/RUSTSEC-0000-0000.md
Normal file
18
crates/rcu_cell/RUSTSEC-0000-0000.md
Normal file
@@ -0,0 +1,18 @@
|
||||
```toml
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
package = "rcu_cell"
|
||||
date = "2020-11-14"
|
||||
url = "https://github.com/Xudong-Huang/rcu_cell/issues/3"
|
||||
categories = ["memory-corruption"]
|
||||
|
||||
[versions]
|
||||
patched = []
|
||||
```
|
||||
|
||||
# Send/Sync bound needed on T for Send/Sync impl of RcuCell<T>
|
||||
|
||||
Affected versions of this crate unconditionally implement Send/Sync for `RcuCell<T>`.
|
||||
This allows users to send `T: !Send` to other threads (while `T` enclosed within `RcuCell<T>`), and allows users to concurrently access `T: !Sync` by using the APIs of `RcuCell<T>` that provide access to `&T`.
|
||||
|
||||
This can result in memory corruption caused by data races.
|
||||
Reference in New Issue
Block a user