diff --git a/crates/slock/RUSTSEC-0000-0000.md b/crates/slock/RUSTSEC-0000-0000.md new file mode 100644 index 0000000..4e7c1de --- /dev/null +++ b/crates/slock/RUSTSEC-0000-0000.md @@ -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 allows sending non-Send types across thread boundaries + +`Slock` 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.