felipe Mon Apr 27 12:52:32 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard basic_functions.c /php-src NEWS Log: - MFH: Fixed bug #48087 (call_user_method() invalid free of arguments) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/basic_functions.c?r1=1.725.2.31.2.64.2.87&r2=1.725.2.31.2.64.2.88&diff_format=u Index: php-src/ext/standard/basic_functions.c diff -u php-src/ext/standard/basic_functions.c:1.725.2.31.2.64.2.87 php-src/ext/standard/basic_functions.c:1.725.2.31.2.64.2.88 --- php-src/ext/standard/basic_functions.c:1.725.2.31.2.64.2.87 Fri Mar 27 02:32:56 2009 +++ php-src/ext/standard/basic_functions.c Mon Apr 27 12:52:31 2009 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: basic_functions.c,v 1.725.2.31.2.64.2.87 2009/03/27 02:32:56 lbarnaud Exp $ */ +/* $Id: basic_functions.c,v 1.725.2.31.2.64.2.88 2009/04/27 12:52:31 felipe Exp $ */ #include "php.h" #include "php_streams.h" @@ -4780,7 +4780,9 @@ } else { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call %s()", Z_STRVAL_P(callback)); } - efree(params); + if (n_params) { + efree(params); + } } /* }}} */ http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.567&r2=1.2027.2.547.2.965.2.568&diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.547.2.965.2.567 php-src/NEWS:1.2027.2.547.2.965.2.568 --- php-src/NEWS:1.2027.2.547.2.965.2.567 Thu Apr 23 13:26:09 2009 +++ php-src/NEWS Mon Apr 27 12:52:31 2009 @@ -12,6 +12,7 @@ disable this behaviour using "http"=>array("auto_decode"=>0) in stream context. (Dmitry) +- Fixed bug #48087 (call_user_method() invalid free of arguments). (Felipe) - Fixed bug #48060 (pdo_pgsql - large objects are returned as empty). (Matteo) - Fixed bug #48023 (spl_autoload_register didn't store closures). (Etienne) - Fixed bug #48004 (Error handler prevents creation of default object).
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php