mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-31 00:30:25 +01:00
Merge pull request #589 from ammaraskar/lever
Add advisory for data race in lever
This commit is contained in:
21
crates/lever/RUSTSEC-0000-0000.md
Normal file
21
crates/lever/RUSTSEC-0000-0000.md
Normal file
@@ -0,0 +1,21 @@
|
||||
```toml
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
package = "lever"
|
||||
date = "2020-11-10"
|
||||
url = "https://github.com/vertexclique/lever/issues/15"
|
||||
categories = ["memory-corruption"]
|
||||
keywords = ["concurrency"]
|
||||
|
||||
[versions]
|
||||
patched = []
|
||||
```
|
||||
|
||||
# AtomicBox<T> lacks bound on its Send and Sync traits allowing data races
|
||||
|
||||
`AtomicBox<T>` is a `Box` type designed to be used across threads, however, it
|
||||
implements the `Send` and `Sync` traits 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.
|
||||
Reference in New Issue
Block a user