Merge "[GWP-ASan] Don't intercept calloc." into rvc-d1-dev am: e559445b29 am: 431305e2ee
Change-Id: Ic570c7ad305416f8ac8d7412f201a425bbfd1da1
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,