RustSec Advisory Database
RUSTSEC-2020-0131
Send/Sync bound needed on T for Send/Sync impl of RcuCell<T>
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | rcu_cell | From 0.0.0-0, no fix listed |