diff options
author | Kostya Serebryany <kcc@google.com> | 2014-08-29 01:16:18 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2014-08-29 01:16:18 +0000 |
commit | 014076f74a468a2166af23e92c71703c9e730f4d (patch) | |
tree | 810e7ce78f3fb3f0d6fc9bfd28c93d61ba5239ec /lib/asan/asan_rtl.cc | |
parent | 6bd6b309e7ce8e46507aa9155ab38f9fa9fbcd01 (diff) |
[asan] enable poison_array_cookie back
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@216705 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_rtl.cc')
-rw-r--r-- | lib/asan/asan_rtl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asan/asan_rtl.cc b/lib/asan/asan_rtl.cc index d9874016f..c3cc1d3f3 100644 --- a/lib/asan/asan_rtl.cc +++ b/lib/asan/asan_rtl.cc @@ -269,7 +269,7 @@ void InitializeFlags(Flags *f, const char *env) { f->allow_reexec = true; f->print_full_thread_history = true; f->poison_heap = true; - f->poison_array_cookie = false; + f->poison_array_cookie = true; f->poison_partial = true; // Turn off alloc/dealloc mismatch checker on Mac and Windows for now. // https://code.google.com/p/address-sanitizer/issues/detail?id=131 |