[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: test_postprocessor: fixed strlen(
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: test_postprocessor: fixed strlen() with NULL |
Date: |
Sun, 12 Sep 2021 19:02:14 +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 b5de085b test_postprocessor: fixed strlen() with NULL
b5de085b is described below
commit b5de085bf1d99572ad25008752483c3253d42eb5
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Sep 12 20:01:54 2021 +0300
test_postprocessor: fixed strlen() with NULL
---
src/microhttpd/test_postprocessor.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/microhttpd/test_postprocessor.c
b/src/microhttpd/test_postprocessor.c
index b3e12323..e7c778c5 100644
--- a/src/microhttpd/test_postprocessor.c
+++ b/src/microhttpd/test_postprocessor.c
@@ -185,7 +185,8 @@ value_checker (void *cls,
}
if ( ( (NULL == expct->data) &&
(0 == off + size) ) ||
- (off + size == strlen (expct->data)) )
+ ( (NULL != expct->data) &&
+ (off + size == strlen (expct->data)) ) )
*idxp += 1;
return MHD_YES;
}
--
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_postprocessor: fixed strlen() with NULL,
gnunet <=