components/lighttpd/patches/CVE-2011-4362.patch
changeset 727 239799b5f9a3
equal deleted inserted replaced
726:8c41de19735e 727:239799b5f9a3
       
     1 http://redmine.lighttpd.net/issues/2370
       
     2 
       
     3 --- src/http_auth.c	Thu Jun 11 03:05:06 2009
       
     4 +++ src/http_auth.c	Mon Mar  5 08:26:05 2012
       
     5 @@ -93,7 +93,7 @@
       
     6  	ch = in[0];
       
     7  	/* run through the whole string, converting as we go */
       
     8  	for (i = 0; i < in_len; i++) {
       
     9 -		ch = in[i];
       
    10 +		ch = (unsigned char) in[i];
       
    11  
       
    12  		if (ch == '\0') break;
       
    13