You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Affected versions of this crate did not have a T: Sync bound in the Send impl for Cow<'_, T, U>. This allows users to create data races by making Cow contain types that are (Send && !Sync) like Cell<_> or RefCell<_>.
Such data races can lead to memory corruption.
The flaw was corrected in commit d1c7658 by adding trait bounds T: Sync and T::Owned: Send to the Send impl for Cow<'_, T, U>.
beef
0.4.4
>=0.5.0
Affected versions of this crate did not have a
T: Sync
bound in theSend
impl forCow<'_, T, U>
. This allows users to create data races by makingCow
contain types that are (Send && !Sync) likeCell<_>
orRefCell<_>
.Such data races can lead to memory corruption.
The flaw was corrected in commit d1c7658 by adding trait bounds
T: Sync
andT::Owned: Send
to theSend
impl forCow<'_, T, U>
.See advisory page for additional details.
The text was updated successfully, but these errors were encountered: