Report 0049-slock to RustSec

This commit is contained in:
JOE1994
2021-01-22 22:53:08 -05:00
parent 0a8f5ce4b9
commit f4bbbf96cd

View 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.