Add advisory for data race in aovec (#528)

This commit is contained in:
Ammar Askar
2021-01-19 10:31:18 -05:00
committed by GitHub
parent 3fbe06486f
commit c988655410

View File

@@ -0,0 +1,20 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "aovec"
date = "2020-12-10"
categories = ["memory-corruption"]
keywords = ["concurrency"]
[versions]
patched = []
```
# Aovec<T> lacks bound on its Send and Sync traits allowing data races
`aovec::Aovec<T>` is a vector type that implements `Send` and `Sync` for all
types `T`.
This allows non-Send types such as `Rc` and non-Sync types such as `Cell` to
be used across thread boundaries which can trigger undefined behavior and
memory corruption.