mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-31 08:40:26 +01:00
Merge pull request #652 from JOE1994/0049-slock
slock: Slock<T> allows sending non-Send types across thread boundaries
This commit is contained in:
18
crates/slock/RUSTSEC-0000-0000.md
Normal file
18
crates/slock/RUSTSEC-0000-0000.md
Normal file
@@ -0,0 +1,18 @@
|
||||
```toml
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
package = "slock"
|
||||
date = "2020-11-17"
|
||||
url = "https://github.com/BrokenLamp/slock-rs/issues/2"
|
||||
categories = ["memory-corruption"]
|
||||
|
||||
[versions]
|
||||
patched = []
|
||||
```
|
||||
|
||||
# Slock<T> allows sending non-Send types across thread boundaries
|
||||
|
||||
`Slock<T>` unconditionally implements `Send`/`Sync`.
|
||||
|
||||
Affected versions of this crate allows sending non-Send types to other threads,
|
||||
which can lead to data races and memory corruption due to the data race.
|
||||
Reference in New Issue
Block a user