libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

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:
Msrc/microhttpd/test_postprocessor.c | 2++
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)