commit | 76ce32657d0917244845a51af2075cf124015da9 | [log] [tgz] |
---|---|---|
author | Mitch Phillips <mitchp@google.com> | Fri Feb 28 08:50:51 2020 -0800 |
committer | Mitch Phillips <mitchp@google.com> | Wed Apr 22 17:50:36 2020 +0000 |
tree | ead08244b334d32c92e6a73886699f390bf987d7 | |
parent | a1cf3ed371990bc15337410d55810be67526ffec [diff] |
[GWP-ASan] Don't intercept calloc. Bug: 154618758 Test: N/A Change-Id: I84aa3b45e013354b8345085fde95aaeae7a7df58
diff --git a/libc/bionic/gwp_asan_wrappers.cpp b/libc/bionic/gwp_asan_wrappers.cpp index d3e6a14..57deeb2 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/154618758) - GWP-ASan's calloc is disabled for now. + Malloc(calloc), gwp_asan_free, Malloc(mallinfo), gwp_asan_malloc,