Queue<T> should have a Send bound on its Send/Sync traits
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 implements
Send
/Sync
forQueue<T>
.This allows (1) creating data races to a
T: !Sync
and (2) sendingT: !Send
to other threads, resulting in memory corruption or other undefined behavior.References