From f4bbbf96cda4d6661bc57859c49244cda0a02649 Mon Sep 17 00:00:00 2001 From: JOE1994 Date: Fri, 22 Jan 2021 22:53:08 -0500 Subject: [PATCH] Report 0049-slock to RustSec --- crates/slock/RUSTSEC-0000-0000.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 crates/slock/RUSTSEC-0000-0000.md 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.