gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 05/07: memorypool: improved macros for manual poisoning


From: gnunet
Subject: [libmicrohttpd] 05/07: memorypool: improved macros for manual poisoning
Date: Sun, 31 Oct 2021 17:02:47 +0100

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

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

    memorypool: improved macros for manual poisoning
---
 src/microhttpd/memorypool.c | 4 ++--
 1 file 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 @@
 #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 \

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]