gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 10/156: memorypool: fixed: unpoison memory for ASAN befo


From: gnunet
Subject: [libmicrohttpd] 10/156: memorypool: fixed: unpoison memory for ASAN before destroying pool
Date: Sun, 28 May 2023 17:51:03 +0200

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

karlson2k pushed a commit to tag v0.9.77
in repository libmicrohttpd.

commit d7bcb559946e6fcf091c3d8ff28035dd5da2a69e
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Mon Mar 7 21:35:27 2022 +0300

    memorypool: fixed: unpoison memory for ASAN before destroying pool
---
 src/microhttpd/memorypool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/memorypool.c b/src/microhttpd/memorypool.c
index 58fc1e45..d7d6a595 100644
--- a/src/microhttpd/memorypool.c
+++ b/src/microhttpd/memorypool.c
@@ -272,7 +272,7 @@ MHD_pool_destroy (struct MemoryPool *pool)
 
   mhd_assert (pool->end >= pool->pos);
   mhd_assert (pool->size >= pool->end - pool->pos);
-  _MHD_POISON_MEMORY (pool->memory, pool->size);
+  _MHD_UNPOISON_MEMORY (pool->memory, pool->size);
   if (! pool->is_mmap)
     free (pool->memory);
   else

-- 
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]