Merge pull request #617 from RustSec/assign-ids

Assigned RUSTSEC-2020-0102 to late-static
This commit is contained in:
Sergey "Shnatsel" Davidoff
2021-01-20 20:04:42 +01:00
committed by GitHub

View File

@@ -1,6 +1,6 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
id = "RUSTSEC-2020-0102"
package = "late-static"
date = "2020-11-10"
url = "https://github.com/Richard-W/late-static/issues/1"
@@ -16,4 +16,4 @@ Affected versions of this crate implemented `Sync` for `LateStatic` with `T: Sen
This can result in a memory corruption or other kinds of undefined behavior.
The flaw was corrected in commit 11f396c by replacing the `T: Send` bound to `T: Sync` bound in the `Sync` impl for `LateStatic<T>`.
The flaw was corrected in commit 11f396c by replacing the `T: Send` bound to `T: Sync` bound in the `Sync` impl for `LateStatic<T>`.