Report 0038-parc to RustSec

This commit is contained in:
JOE1994
2021-01-22 22:16:27 -05:00
parent 0a8f5ce4b9
commit 91871568cc

View File

@@ -0,0 +1,17 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "parc"
date = "2020-11-14"
url = "https://github.com/hyyking/rustracts/pull/6"
categories = ["memory-corruption"]
[versions]
patched = []
```
# `LockWeak<T>` allows to create data race to `T`.
In the affected versions of this crate, `LockWeak<T>` unconditionally implemented `Send` with no trait bounds on `T`. `LockWeak<T>` doesn't own `T` and only provides `&T`.
This allows concurrent access to a non-Sync `T`, which can cause undefined behavior like data races.