mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-02-15 22:04:38 +01:00
732 B
732 B
[advisory]
id = "RUSTSEC-2020-0127"
package = "v9"
date = "2020-12-18"
url = "https://github.com/purpleposeidon/v9/issues/1"
categories = ["memory-corruption", "thread-safety"]
[versions]
patched = []
SyncRef's clone() and debug() allow data races
Affected versions of this crate unconditionally implement Sync for SyncRef<T>.
This definition allows data races if &T is accessible through &SyncRef.
SyncRef<T> derives Clone and Debug, and the default implementations of those traits access &T by invoking T::clone() & T::fmt(). It is possible to create data races & undefined behavior by concurrently invoking SyncRef<T>::clone() or SyncRef<T>::fmt() from multiple threads with T: !Sync.