mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
use curi instead of uri to avoid passing NULL to memchr, even with len 0
This commit is contained in:
@@ -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)) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user