Send/Sync bound needed on T for Send/Sync impl of RcuCell<T>
Moderate severity
GitHub Reviewed
Published
Aug 25, 2021
to the GitHub Advisory Database
•
Updated Jan 9, 2023
Withdrawn
This advisory was withdrawn on Aug 24, 2021
Description
Reviewed
Aug 6, 2021
Withdrawn
Aug 24, 2021
Published to the GitHub Advisory Database
Aug 25, 2021
Last updated
Jan 9, 2023
Affected versions of this crate unconditionally implement Send/Sync for
RcuCell<T>
.This allows users to send
T: !Send
to other threads (whileT
enclosed withinRcuCell<T>
), and allows users to concurrently accessT: !Sync
by using the APIs ofRcuCell<T>
that provide access to&T
.This can result in memory corruption caused by data races.
References