[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 01/21: daemon.c: fixed heap manipulations with mutex hel
From: |
gnunet |
Subject: |
[libmicrohttpd] 01/21: daemon.c: fixed heap manipulations with mutex held |
Date: |
Tue, 14 Mar 2023 19:36:46 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 2124a70e5431abf11b97ebb89d1f20f23f0845ea
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Mar 2 21:16:02 2023 +0300
daemon.c: fixed heap manipulations with mutex held
---
src/microhttpd/daemon.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 97054e59..c9c0d51c 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -483,10 +483,11 @@ MHD_ip_limit_del (struct MHD_Daemon *daemon,
tdelete (found_key,
&daemon->per_ip_connection_count,
&MHD_ip_addr_compare);
+ MHD_ip_count_unlock (daemon);
free (found_key);
}
-
- MHD_ip_count_unlock (daemon);
+ else
+ MHD_ip_count_unlock (daemon);
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (12f637aa -> dcd8ea98), gnunet, 2023/03/14
- [libmicrohttpd] 01/21: daemon.c: fixed heap manipulations with mutex held,
gnunet <=
- [libmicrohttpd] 03/21: configure: reordered checks for compiler flags, gnunet, 2023/03/14
- [libmicrohttpd] 06/21: Makefile: fixed build with 'make' without nested vars support, gnunet, 2023/03/14
- [libmicrohttpd] 08/21: mhd_shutdown_socket_trigger.m4: fixed compiler warning, gnunet, 2023/03/14
- [libmicrohttpd] 05/21: configure: fixed checks for tsearch() and related, gnunet, 2023/03/14
- [libmicrohttpd] 07/21: mhd_check_func.m4: updated, gnunet, 2023/03/14
- [libmicrohttpd] 09/21: configure: fixed some compiler warnings for checks, gnunet, 2023/03/14
- [libmicrohttpd] 10/21: mhd_check_func.m4: added check for function declaration, gnunet, 2023/03/14
- [libmicrohttpd] 11/21: libcurl.m4: updated to the latest version, gnunet, 2023/03/14
- [libmicrohttpd] 13/21: mhd_find_lib.m4: added new autoconf macro, gnunet, 2023/03/14
- [libmicrohttpd] 12/21: libcurl.m4: patched to fix compiler warning, gnunet, 2023/03/14