iliaa Tue Jun 8 09:23:47 2004 EDT Modified files: (Branch: PHP_4_3) /php-src NEWS /php-src/main SAPI.c Log: MFH: Fixed bug #28692 (\0 in Authenticate header passed via safe_mode). http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.678&r2=1.1247.2.679&ty=u Index: php-src/NEWS diff -u php-src/NEWS:1.1247.2.678 php-src/NEWS:1.1247.2.679 --- php-src/NEWS:1.1247.2.678 Mon Jun 7 14:31:15 2004 +++ php-src/NEWS Tue Jun 8 09:23:46 2004 @@ -1,6 +1,7 @@ PHP 4 NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2004, Version 4.3.8 +- Fixed bug #28692 (\0 in Authenticate header passed via safe_mode). (Ilia) - Fixed bug #28670 (WWW-Authentication header mangling with PCRE in safe_mode adds extra spaces). (Ilia) - Fixed bug #28668 (glob() does not work with relative paths on Windows). http://cvs.php.net/diff.php/php-src/main/SAPI.c?r1=1.155.2.20&r2=1.155.2.21&ty=u Index: php-src/main/SAPI.c diff -u php-src/main/SAPI.c:1.155.2.20 php-src/main/SAPI.c:1.155.2.21 --- php-src/main/SAPI.c:1.155.2.20 Mon Jun 7 09:51:59 2004 +++ php-src/main/SAPI.c Tue Jun 8 09:23:46 2004 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: SAPI.c,v 1.155.2.20 2004/06/07 13:51:59 iliaa Exp $ */ +/* $Id: SAPI.c,v 1.155.2.21 2004/06/08 13:23:46 iliaa Exp $ */ #include <ctype.h> #include <sys/stat.h> @@ -640,7 +640,7 @@ efree(lower_temp); } } - newlen = sizeof("WWW-Authenticate: ") + result_len; + newlen = sizeof("WWW-Authenticate: ") - 1 + result_len; newheader = emalloc(newlen+1); sprintf(newheader,"WWW-Authenticate: %s", result); efree(header_line);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php