aboutsummaryrefslogtreecommitdiff
path: root/libc/malloc_debug/tests/malloc_debug_system_tests.cpp
diff options
context:
space:
mode:
authorFlorian Mayer <fmayer@google.com>2021-07-20 15:43:37 +0100
committerFlorian Mayer <fmayer@google.com>2021-07-27 13:00:23 +0100
commit9db8f2bc8758432b5d7ae5975e14311dc1601ebe (patch)
treef47e2ce76ff58b06d06f8467238efc737ed57cab /libc/malloc_debug/tests/malloc_debug_system_tests.cpp
parent98115b7494a96dd0b8e6ece7ff5e50704038c906 (diff)
Fix GWP hooks not being restored, leading to crashes.
If the DispatchReset fails, the subsequent iteration has the wrong idea of what the "original" table is, and if a subsequent DispatchReset succeeds it unhooks them. Repro in https://r.android.com/1767868. Bug: 193012939 Bug: 189776979 Change-Id: Ie0644412291d3b53dcf89cdd056e542d32822975
Diffstat (limited to 'libc/malloc_debug/tests/malloc_debug_system_tests.cpp')
0 files changed, 0 insertions, 0 deletions