commit ce7e1e50d3fcc4930c0aff95d5afe9c200ab80d9
parent e7b2a95ce206ff1e64e8acd3cafd508b45dc0c15
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sat, 11 Sep 2021 14:19:47 +0300
test_postprocessor: catch impossible value
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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)