[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 02/02: test_postprocessor: catch impossible value
From: |
gnunet |
Subject: |
[libmicrohttpd] 02/02: test_postprocessor: catch impossible value |
Date: |
Sat, 11 Sep 2021 13:19:59 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit ce7e1e50d3fcc4930c0aff95d5afe9c200ab80d9
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Sep 11 14:19:47 2021 +0300
test_postprocessor: catch impossible value
---
src/microhttpd/test_postprocessor.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/microhttpd/test_postprocessor.c
b/src/microhttpd/test_postprocessor.c
index e7130332..17d09c91 100644
--- a/src/microhttpd/test_postprocessor.c
+++ b/src/microhttpd/test_postprocessor.c
@@ -131,6 +131,8 @@ value_checker (void *cls,
data ? data : "(NULL)",
(int) size);
#endif
+ if (*idxp == (unsigned int) -1)
+ exit (99);
if ( (0 != off) && (0 == size) )
{
if (NULL == expct->data)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.