summaryrefslogtreecommitdiff
path: root/lib/asan/asan_fake_stack.h
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2013-09-20 09:16:21 +0000
committerKostya Serebryany <kcc@google.com>2013-09-20 09:16:21 +0000
commit81b0fe0ae241ca12882f653dcf6b13eaa5ca284d (patch)
tree19976a5b968451fc051e77f5e1c17352e6b68e43 /lib/asan/asan_fake_stack.h
parent8e05fda2a6b24a0aa293239ebc1c121d18b5a07f (diff)
[asan] nuke yet another async-signal-safety bug in UAR (oh, my)
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191080 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_fake_stack.h')
-rw-r--r--lib/asan/asan_fake_stack.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/asan/asan_fake_stack.h b/lib/asan/asan_fake_stack.h
index 6832e2215..3f72b8214 100644
--- a/lib/asan/asan_fake_stack.h
+++ b/lib/asan/asan_fake_stack.h
@@ -77,6 +77,7 @@ class FakeStack {
}
void Destroy() {
+ PoisonAll(0);
UnmapOrDie(this, RequiredSize(stack_size_log_));
}