gwp-asan: Fix potential race in GuardedPageAllocator.
|total_allocations_| is used after the mutex guarding it is released. This CL reads its value before releasing the mutex, removing the race condition. Bug: 881875 Change-Id: Iba1539eb75012bb69bf2bd6631345fa9518a62cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2098017 Commit-Queue: Victor Costan <pwnall@chromium.org> Auto-Submit: Victor Costan <pwnall@chromium.org> Reviewed-by:Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/master@{#749175}
Showing
Please register or sign in to comment