HistoryEditJSON (OSV)

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
Aliases
References
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.

Advisory available under CC0-1.0 license.