Merge pull request #706 from JOE1994/0066-kekbit

kekbit: ShmWriter allows sending non-Send type across threads
This commit is contained in:
Sergey "Shnatsel" Davidoff
2021-01-30 19:05:02 +01:00
committed by GitHub

View File

@@ -0,0 +1,15 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "kekbit"
date = "2020-12-18"
url = "https://github.com/motoras/kekbit/issues/34"
categories = ["memory-corruption", "thread-safety"]
[versions]
patched = []
```
# ShmWriter allows sending non-Send type across threads
Affected versions of this crate implement `Send` for `ShmWriter<H>` without requiring `H: Send`. This allows users to send `H: !Send` to other threads, which can potentially lead to data races and undefined behavior.