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