[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: test_str: fixed harmless sanitize
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: test_str: fixed harmless sanitizer error |
Date: |
Tue, 14 Jun 2022 18:17:59 +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 29ff7c68 test_str: fixed harmless sanitizer error
29ff7c68 is described below
commit 29ff7c6869bc388fcf455c6cb4cd937bb76ee237
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Jun 14 19:17:38 2022 +0300
test_str: fixed harmless sanitizer error
---
src/microhttpd/test_str.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/test_str.c b/src/microhttpd/test_str.c
index a974c24a..f2f4d32c 100644
--- a/src/microhttpd/test_str.c
+++ b/src/microhttpd/test_str.c
@@ -4342,8 +4342,10 @@ check_str_from_uint8_pad (void)
}
for (pad = 0; pad <= 3; pad++)
{
- size_t table_num = pad - 1;
- if (0 == pad)
+ size_t table_num;
+ if (0 != pad)
+ table_num = pad - 1;
+ else
table_num = 0;
for (i = 0; i <= 255; i++)
--
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: test_str: fixed harmless sanitizer error,
gnunet <=