HistoryEdit

RUSTSEC-2023-0031

Initialisation failure in Once::try_call_once can lead to undefined behaviour for other initialisers

Reported
Issued
Package
spin (crates.io)
Type
INFO Unsound
Details
https://github.com/mvdnes/spin-rs/issues/148
Patched
  • >=0.9.8
Unaffected
  • <0.9.3

Description

Once::try_call_once is unsound if invoked more than once concurrently and any call fails to initialise successfully.