[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 07/07: memorypool: fixed: unpoison memory for ASAN befor
From: |
gnunet |
Subject: |
[libmicrohttpd] 07/07: memorypool: fixed: unpoison memory for ASAN before destroying pool |
Date: |
Mon, 07 Mar 2022 19:36:14 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 1a46bfd6e0929e2004ffda318282cbf21d9f5299
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 49ed9524..4408378c 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.
- [libmicrohttpd] branch master updated (02634d01 -> 1a46bfd6), gnunet, 2022/03/07
- [libmicrohttpd] 01/07: connection.c: added function to check used reply, gnunet, 2022/03/07
- [libmicrohttpd] 07/07: memorypool: fixed: unpoison memory for ASAN before destroying pool,
gnunet <=
- [libmicrohttpd] 04/07: response.c: fixed coding style, gnunet, 2022/03/07
- [libmicrohttpd] 03/07: response: added automatic flag MHD_RAF_HAS_CONTENT_LENGTH, gnunet, 2022/03/07
- [libmicrohttpd] 05/07: response headers: do not add automatic "Content-Length" header if response already has it, gnunet, 2022/03/07
- [libmicrohttpd] 06/07: reply: warn if manual "Content-Length" is used when this header is not allowed, gnunet, 2022/03/07
- [libmicrohttpd] 02/07: MHD_queue_response(): improved doxy, gnunet, 2022/03/07