spin-rs initialisation failure in `Once::try_call_once` can lead to undefined behaviour for other initialisers
Moderate severity
GitHub Reviewed
Published
Apr 3, 2023
to the GitHub Advisory Database
•
Updated Apr 3, 2023
Description
Published to the GitHub Advisory Database
Apr 3, 2023
Reviewed
Apr 3, 2023
Last updated
Apr 3, 2023
Once::try_call_once
is unsound if invoked more than once concurrently and any call fails to initialise successfully.References