mirror of
https://github.com/octoleo/restic.git
synced 2025-01-24 15:48:25 +00:00
6fbfccc2d3
Calling `Load()` twice for an atomic variable can return different values each time. This resulted in trying to read the security descriptor with high privileges, but then not entering the code path to switch to low privileges when another thread has already done so concurrently.