7125327 Problem with utility/lighttpd s11-sru
authorPetr Sumbera <petr.sumbera@oracle.com>
Mon, 12 Mar 2012 03:28:37 -0700
branchs11-sru
changeset 2254 7ed4c1940d88
parent 2253 0ff714cd6653
child 2255 7185b36f1b55
7125327 Problem with utility/lighttpd
components/lighttpd/patches/CVE-2011-4362.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/lighttpd/patches/CVE-2011-4362.patch	Mon Mar 12 03:28:37 2012 -0700
@@ -0,0 +1,13 @@
+http://redmine.lighttpd.net/issues/2370
+
+--- src/http_auth.c	Thu Jun 11 03:05:06 2009
++++ src/http_auth.c	Mon Mar  5 08:26:05 2012
[email protected]@ -93,7 +93,7 @@
+ 	ch = in[0];
+ 	/* run through the whole string, converting as we go */
+ 	for (i = 0; i < in_len; i++) {
+-		ch = in[i];
++		ch = (unsigned char) in[i];
+ 
+ 		if (ch == '\0') break;
+