You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-proxy/c-icap/files/c-icap-0.2.6-fix-icap-parsi...

12 lines
522 B

--- c-icap-0.2.2.orig/request.c 2013-02-03 16:37:43.000000000 +0000
+++ c-icap-02.2/request.c 2012-06-19 12:55:51.000000000 +0000
@@ -267,7 +267,7 @@
req->req_server[servnamelen] = '\0';
if (*end == '/') { /*service */
start = ++end;
- while (*end != ' ' && *end != '?')
+ while (*end && *end != ' ' && *end != '?')
end++;
len = end - start;
if (len > 0) {