aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-10-31 18:48:40 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-10-31 18:48:40 +0300
commitf40ddb9e08d6ebc329d7a2cd81b35c9b7203b323 (patch)
treee61bf3aec040222165a25ec1256e29484070eca4
parented87ddd2179729fd1676610d80c2dce6c53f24ea (diff)
downloadlibmicrohttpd-f40ddb9e08d6ebc329d7a2cd81b35c9b7203b323.tar.gz
libmicrohttpd-f40ddb9e08d6ebc329d7a2cd81b35c9b7203b323.zip
memorypool: improved macros for manual poisoning
-rw-r--r--src/microhttpd/memorypool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/memorypool.c b/src/microhttpd/memorypool.c
index 4002e59e..64aa1e82 100644
--- a/src/microhttpd/memorypool.c
+++ b/src/microhttpd/memorypool.c
@@ -100,8 +100,8 @@
100#define _MHD_NOSANITIZE_PTRS /**/ 100#define _MHD_NOSANITIZE_PTRS /**/
101#define _MHD_RED_ZONE_SIZE (0) 101#define _MHD_RED_ZONE_SIZE (0)
102#define ROUND_TO_ALIGN_PLUS_RED_ZONE(n) ROUND_TO_ALIGN(n) 102#define ROUND_TO_ALIGN_PLUS_RED_ZONE(n) ROUND_TO_ALIGN(n)
103#define _MHD_POISON_MEMORY(pointer, size) /**/ 103#define _MHD_POISON_MEMORY(pointer, size) (void)0
104#define _MHD_UNPOISON_MEMORY(pointer, size) /**/ 104#define _MHD_UNPOISON_MEMORY(pointer, size) (void)0
105#else /* MHD_ASAN_POISON_ACTIVE */ 105#else /* MHD_ASAN_POISON_ACTIVE */
106#if defined(FUNC_ATTR_PTRCOMPARE_WOKRS) 106#if defined(FUNC_ATTR_PTRCOMPARE_WOKRS)
107#define _MHD_NOSANITIZE_PTRS \ 107#define _MHD_NOSANITIZE_PTRS \