commit | f27fa1d20b11501d86205f0f90c4256af653ddb9 | [log] [tgz] |
---|---|---|
author | Mitch Phillips <mitchp@google.com> | Fri Feb 28 08:50:51 2020 -0800 |
committer | Mitch Phillips <mitchp@google.com> | Fri Feb 28 13:44:01 2020 -0800 |
tree | d5c1499099630d00a5b1d037e2de52fdabe15160 | |
parent | 43dc5784ca9658dc7181bed4ad9385b6844e7968 [diff] |
[GWP-ASan] Don't intercept calloc. See linked bug for more information. Bug: 150456936 Test: N/A Change-Id: Ibdd4331d005cf488e24c238e67e46cee13198334 Merged-In: Ibdd4331d005cf488e24c238e67e46cee13198334
diff --git a/libc/bionic/gwp_asan_wrappers.cpp b/libc/bionic/gwp_asan_wrappers.cpp index d3e6a14..e60a2f9 100644 --- a/libc/bionic/gwp_asan_wrappers.cpp +++ b/libc/bionic/gwp_asan_wrappers.cpp
@@ -177,7 +177,8 @@ } static const MallocDispatch gwp_asan_dispatch __attribute__((unused)) = { - gwp_asan_calloc, + // TODO(b/150456936) - GWP-ASan's calloc is disabled for now. + Malloc(calloc), gwp_asan_free, Malloc(mallinfo), gwp_asan_malloc,