[GWP-ASan] Don't intercept calloc.
See linked bug for more information.
Bug: 150456936
Test: N/A
Change-Id: 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,