iliaa Wed Dec 8 16:15:03 2004 EDT Modified files: (Branch: PHP_4_3) /php-src NEWS /php-src/ext/standard file.c Log: MFH: Fixed bug #31024 (Crash in fgetcsv() with negative length). http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.767&r2=1.1247.2.768&ty=u Index: php-src/NEWS diff -u php-src/NEWS:1.1247.2.767 php-src/NEWS:1.1247.2.768 --- php-src/NEWS:1.1247.2.767 Tue Dec 7 20:09:53 2004 +++ php-src/NEWS Wed Dec 8 16:15:01 2004 @@ -1,5 +1,9 @@ PHP 4 NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +?? Dec 2004, Version 4.3.10 +- Fixed bug #31024 (Crash in fgetcsv() with negative length). (Ilia) +- Fixed bug #31019 (Logic error mssql library checking). (Frank) + 07 Dec 2004, Version 4.3.10RC2 - Fixed bug #30995 (snmp extension does not build with net-snmp 5.2). (Ilia) - Fixed bug #30990 (allow popen() on *NIX to accept 'b' flag). (Ilia) http://cvs.php.net/diff.php/php-src/ext/standard/file.c?r1=1.279.2.66&r2=1.279.2.67&ty=u Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.279.2.66 php-src/ext/standard/file.c:1.279.2.67 --- php-src/ext/standard/file.c:1.279.2.66 Mon Dec 6 18:31:58 2004 +++ php-src/ext/standard/file.c Wed Dec 8 16:15:02 2004 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.279.2.66 2004/12/06 23:31:58 iliaa Exp $ */ +/* $Id: file.c,v 1.279.2.67 2004/12/08 21:15:02 iliaa Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -2335,7 +2335,7 @@ convert_to_long_ex(bytes); len = Z_LVAL_PP(bytes); - if (len < 0) { + if (Z_LVAL_PP(bytes) < 0) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Length parameter may not be negative"); RETURN_FALSE; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php