Added unsound spin (#1671)

* Added advisory for spin

* Remove withdrawn artifact

---------

Co-authored-by: pinkforest(she/her) <36498018+pinkforest@users.noreply.github.com>
This commit is contained in:
Joshua Barretto
2023-04-03 21:55:45 +01:00
committed by GitHub
parent 719587479a
commit 8d868299ea

View File

@@ -0,0 +1,16 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "spin"
date = "2023-03-31"
informational = "unsound"
url = "https://github.com/mvdnes/spin-rs/issues/148"
[versions]
patched = [">= 0.9.8"]
unaffected = ["< 0.9.3"]
```
# Initialisation failure in `Once::try_call_once` can lead to undefined behaviour for other initialisers
`Once::try_call_once` is unsound if invoked more than once concurrently and any call fails to initialise successfully.