You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our static analyzer find a potential unsound issue (data races) in SpinLock, where the unlock fuction needs to be marked as unsafe explicitly, otherwise safe Rust can have data races when user unlock unexpectedly.
I understand your concern, but Rust is trying to achieve a higher requirement for libraries so that even misuse cannot cause issues, please check this and lock-api for details
Hi, thanks for your time to read this issue.
Our static analyzer find a potential unsound issue (data races) in
SpinLock
, where theunlock
fuction needs to be marked asunsafe
explicitly, otherwise safe Rust can have data races when userunlock
unexpectedly.anode/anode/src/spin_mutex.rs
Lines 94 to 97 in 6bba839
A potentail PoC code is like:
Thanks again for your time.
The text was updated successfully, but these errors were encountered: