[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: Added missing zero-out of nonce-n
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: Added missing zero-out of nonce-nc map array |
Date: |
Fri, 06 May 2022 12:47:03 +0200 |
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 54afc7ad Added missing zero-out of nonce-nc map array
54afc7ad is described below
commit 54afc7adb55557a524f992973a5c71d6dd43341f
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Fri May 6 13:40:24 2022 +0300
Added missing zero-out of nonce-nc map array
---
src/microhttpd/daemon.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 404fccf1..78a112aa 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -6845,7 +6845,8 @@ MHD_start_daemon_va (unsigned int flags,
free (daemon);
return NULL;
}
- daemon->nnc = malloc (daemon->nonce_nc_size * sizeof (struct MHD_NonceNc));
+ daemon->nnc = MHD_calloc_ (daemon->nonce_nc_size,
+ sizeof (struct MHD_NonceNc));
if (NULL == daemon->nnc)
{
#ifdef HAVE_MESSAGES
--
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: Added missing zero-out of nonce-nc map array,
gnunet <=