Data race in `Iter` and `IterMut`
High severity
GitHub Reviewed
Published
Jun 17, 2022
to the GitHub Advisory Database
•
Updated Jan 12, 2023
Description
Published to the GitHub Advisory Database
Jun 17, 2022
Reviewed
Jun 17, 2022
Last updated
Jan 12, 2023
In the affected version of this crate,
{Iter, IterMut}::next
used a weaker memory ordering when loading values than what was required, exposing a potential data racewhen iterating over a
ThreadLocal
's values.Crates using
Iter::next
, orIterMut::next
are affected by this issue.References