Merge pull request #684 from RustSec/assign-ids

Assigned RUSTSEC-2020-0119 to ticketed_lock
This commit is contained in:
Sergey "Shnatsel" Davidoff
2021-01-25 14:21:40 +01:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
This file causes merge conflicts if two ID assignment jobs run concurrently.
This prevents duplicate ID assignment due to a race between those jobs.
d1438c1f6904595ea776510113aae7bf3672774541eb917afc4e7f68c2775950 -
0d9344ca55efb1b496ceb3d15c4083a5a8482138465f6c0bf7e3697243e825a7 -

View File

@@ -1,6 +1,6 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
id = "RUSTSEC-2020-0119"
package = "ticketed_lock"
date = "2020-11-17"
url = "https://github.com/kvark/ticketed_lock/issues/7"
@@ -17,4 +17,4 @@ This allows to send non-Send `T` to other threads.
This can allows creating data races by cloning types with internal mutability and sending them to other threads (as `T` of `ReadTicket<T>`/`WriteTicket<T>`). Such data races can cause memory corruption or other undefined behavior.
The flaw was corrected in commit a986a93 by adding `T: Send` bounds to `Send` impls of `ReadTicket<T>`/`WriteTicket<T>`.
The flaw was corrected in commit a986a93 by adding `T: Send` bounds to `Send` impls of `ReadTicket<T>`/`WriteTicket<T>`.