components/lighttpd/patches/CVE-2011-4362.patch
author Sonam Gupta <sonam.x.gupta@oracle.com>
Fri, 17 May 2013 20:31:53 +0200
branchs11u1-sru
changeset 2625 5dad0fc5ed82
parent 727 239799b5f9a3
permissions -rw-r--r--
16362516 lpstat and lpq commands report bad value 16321334 lpstat -p always reports job id as '-0' 15731683 SUNBT7072114 cupsd: segfault in move_job+0x29d

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
@@ -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;