[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 08/156: test_upgrade{,_large}: fixed use of uninitialize
From: |
gnunet |
Subject: |
[libmicrohttpd] 08/156: test_upgrade{,_large}: fixed use of uninitialized value |
Date: |
Sun, 28 May 2023 17:51:01 +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 4bb2eac0062971aeb53eafc93c8609007cf2ff8d
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Jan 13 21:04:03 2022 +0300
test_upgrade{,_large}: fixed use of uninitialized value
---
src/microhttpd/test_upgrade.c | 2 +-
src/microhttpd/test_upgrade_large.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/test_upgrade.c b/src/microhttpd/test_upgrade.c
index 950a5fb4..06e66a3c 100644
--- a/src/microhttpd/test_upgrade.c
+++ b/src/microhttpd/test_upgrade.c
@@ -526,7 +526,7 @@ notify_connection_cb (void *cls,
void **socket_context,
enum MHD_ConnectionNotificationCode toe)
{
- static int started;
+ static int started = MHD_NO;
(void) cls;
(void) connection; /* Unused. Silent compiler warning. */
diff --git a/src/microhttpd/test_upgrade_large.c
b/src/microhttpd/test_upgrade_large.c
index c321080e..817408fb 100644
--- a/src/microhttpd/test_upgrade_large.c
+++ b/src/microhttpd/test_upgrade_large.c
@@ -700,7 +700,7 @@ notify_connection_cb (void *cls,
void **socket_context,
enum MHD_ConnectionNotificationCode toe)
{
- static int started;
+ static int started = MHD_NO;
(void) cls;
(void) connection; /* Unused. Silent compiler warning. */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] tag v0.9.77 created (now 19fb1171), gnunet, 2023/05/28
- [libmicrohttpd] 03/156: bump MHD_VERSION to indicate development version, gnunet, 2023/05/28
- [libmicrohttpd] 04/156: configure: clarified license message, gnunet, 2023/05/28
- [libmicrohttpd] 02/156: Updated ChangeLog and NEWS for v0.9.76, gnunet, 2023/05/28
- [libmicrohttpd] 01/156: Bump LIB_VERSION_REVISION missing in 0.9.76 release, gnunet, 2023/05/28
- [libmicrohttpd] 06/156: automake: use right automake options, gnunet, 2023/05/28
- [libmicrohttpd] 08/156: test_upgrade{,_large}: fixed use of uninitialized value,
gnunet <=
- [libmicrohttpd] 07/156: Fixed compiler warning in examples, gnunet, 2023/05/28
- [libmicrohttpd] 12/156: MHD_get_version(): fixed signed value bit shift, gnunet, 2023/05/28
- [libmicrohttpd] 11/156: Disallowed MHD_SIZE_UNKNOWN for buffer-based responses, gnunet, 2023/05/28
- [libmicrohttpd] 09/156: fix capitalization of SHA-256 / MD5 as per RFC 7616 as reported on the mailinglist by Ahmet Kermen, gnunet, 2023/05/28
- [libmicrohttpd] 05/156: configure: fixed unwanted output on Fedora, gnunet, 2023/05/28
- [libmicrohttpd] 10/156: memorypool: fixed: unpoison memory for ASAN before destroying pool, gnunet, 2023/05/28
- [libmicrohttpd] 18/156: Response from callback: do allow negative return amounts, except predefined values, gnunet, 2023/05/28
- [libmicrohttpd] 13/156: test_https_sni: use certificates with SAN fields, gnunet, 2023/05/28
- [libmicrohttpd] 16/156: test_https_sni: use CA certificate, gnunet, 2023/05/28
- [libmicrohttpd] 20/156: Fixed return type for get_system_fdsetsize_value (), gnunet, 2023/05/28