libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit f40ddb9e08d6ebc329d7a2cd81b35c9b7203b323
parent ed87ddd2179729fd1676610d80c2dce6c53f24ea
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Sun, 31 Oct 2021 18:48:40 +0300

memorypool: improved macros for manual poisoning

Diffstat:
Msrc/microhttpd/memorypool.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/memorypool.c b/src/microhttpd/memorypool.c @@ -100,8 +100,8 @@ #define _MHD_NOSANITIZE_PTRS /**/ #define _MHD_RED_ZONE_SIZE (0) #define ROUND_TO_ALIGN_PLUS_RED_ZONE(n) ROUND_TO_ALIGN(n) -#define _MHD_POISON_MEMORY(pointer, size) /**/ -#define _MHD_UNPOISON_MEMORY(pointer, size) /**/ +#define _MHD_POISON_MEMORY(pointer, size) (void)0 +#define _MHD_UNPOISON_MEMORY(pointer, size) (void)0 #else /* MHD_ASAN_POISON_ACTIVE */ #if defined(FUNC_ATTR_PTRCOMPARE_WOKRS) #define _MHD_NOSANITIZE_PTRS \