[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: use curi instead of
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: use curi instead of uri to avoid passing NULL to memchr, even with len 0 |
Date: |
Fri, 02 Mar 2018 22:29:14 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 08ca3765 use curi instead of uri to avoid passing NULL to memchr, even
with len 0
08ca3765 is described below
commit 08ca3765b72c89659a03f00c69c9af96ea1c548c
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Mar 2 22:29:12 2018 +0100
use curi instead of uri to avoid passing NULL to memchr, even with len 0
---
src/lib/connection_call_handlers.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/connection_call_handlers.c
b/src/lib/connection_call_handlers.c
index 9e67216c..f8ea0e4d 100644
--- a/src/lib/connection_call_handlers.c
+++ b/src/lib/connection_call_handlers.c
@@ -1804,7 +1804,7 @@ parse_initial_message_line (struct MHD_Request *request,
url_end = http_version - uri;
}
if ( (MHD_PSL_STRICT == daemon->protocol_strict_level) &&
- (NULL != memchr (uri,
+ (NULL != memchr (curi,
' ',
url_end)) )
{
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: use curi instead of uri to avoid passing NULL to memchr, even with len 0,
gnunet <=