[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: new_connection_prepare_(): fixed
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: new_connection_prepare_(): fixed use-after-free in error handler |
Date: |
Thu, 29 Oct 2020 14:01:30 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new f072ba22 new_connection_prepare_(): fixed use-after-free in error
handler
f072ba22 is described below
commit f072ba22292b3a0ccece062debeef05f4c9a5d62
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Oct 29 15:53:27 2020 +0300
new_connection_prepare_(): fixed use-after-free in error handler
---
src/microhttpd/daemon.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index d3904f03..f2e049eb 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -2529,7 +2529,7 @@ new_connection_prepare_ (struct MHD_Daemon *daemon,
free (connection->addr);
free (connection);
#ifdef HAVE_MESSAGES
- MHD_DLOG (connection->daemon,
+ MHD_DLOG (daemon,
_ ("Failed to initialise TLS session.\n"));
#endif
#if EPROTO
@@ -2556,7 +2556,7 @@ new_connection_prepare_ (struct MHD_Daemon *daemon,
break;
default:
#ifdef HAVE_MESSAGES
- MHD_DLOG (connection->daemon,
+ MHD_DLOG (daemon,
_ (
"Failed to setup TLS credentials: unknown credential type
%d.\n"),
daemon->cred_type);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libmicrohttpd] branch master updated: new_connection_prepare_(): fixed use-after-free in error handler,
gnunet <=