johannes Thu, 02 Feb 2012 17:49:00 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=323030
Log:
Merge r323007
"fix UMR in php_register_variable_ex, reported by Stefan Esser" (stas)
Changed paths:
_U php/php-src/branches/PHP_5_3_10/
_U php/php-src/branches/PHP_5_3_10/ext/spl/tests/
_U php/php-src/branches/PHP_5_3_10/ext/tidy/tests/
U php/php-src/branches/PHP_5_3_10/main/php_variables.c
_U php/php-src/branches/PHP_5_3_10/sapi/fpm/php-fpm.8.in
_U
php/php-src/branches/PHP_5_3_10/tests/security/open_basedir_parse_ini_file.phpt
Property changes on: php/php-src/branches/PHP_5_3_10
___________________________________________________________________
Modified: svn:mergeinfo
- /php/php-src/trunk:284726,305015,305018-305019
+ /php/php-src/branches/PHP_5_3:323007
/php/php-src/trunk:284726,305015,305018-305019
Property changes on: php/php-src/branches/PHP_5_3_10/ext/spl/tests
___________________________________________________________________
Modified: svn:mergeinfo
- /php/php-src/trunk:300463
/php/php-src/trunk/ext/spl/tests:284726,300463,300481,305015,305018-305019
+ /php/php-src/branches/PHP_5_3/ext/spl/tests:323007
/php/php-src/trunk:300463
/php/php-src/trunk/ext/spl/tests:284726,300463,300481,305015,305018-305019
Property changes on: php/php-src/branches/PHP_5_3_10/ext/tidy/tests
___________________________________________________________________
Modified: svn:mergeinfo
- /php/php-src/trunk/ext/tidy/tests:284726,287798-287941,305015,305018-305019
+ /php/php-src/branches/PHP_5_3/ext/tidy/tests:323007
/php/php-src/trunk/ext/tidy/tests:284726,287798-287941,305015,305018-305019
Modified: php/php-src/branches/PHP_5_3_10/main/php_variables.c
===================================================================
--- php/php-src/branches/PHP_5_3_10/main/php_variables.c 2012-02-02
17:31:05 UTC (rev 323029)
+++ php/php-src/branches/PHP_5_3_10/main/php_variables.c 2012-02-02
17:49:00 UTC (rev 323030)
@@ -198,6 +198,9 @@
MAKE_STD_ZVAL(gpc_element);
array_init(gpc_element);
zend_symtable_update(symtable1,
escaped_index, index_len + 1, &gpc_element, sizeof(zval *), (void **)
&gpc_element_p);
+ } else {
+ efree(var_orig);
+ return;
}
}
if (index != escaped_index) {
Property changes on: php/php-src/branches/PHP_5_3_10/sapi/fpm/php-fpm.8.in
___________________________________________________________________
Modified: svn:mergeinfo
- /php/php-src/trunk/sapi/fpm/php-fpm.1.in:284726
/php/php-src/trunk/sapi/fpm/php-fpm.8.in:305015,305018-305019
+ /php/php-src/branches/PHP_5_3/sapi/fpm/php-fpm.8.in:323007
/php/php-src/trunk/sapi/fpm/php-fpm.1.in:284726
/php/php-src/trunk/sapi/fpm/php-fpm.8.in:305015,305018-305019
Property changes on:
php/php-src/branches/PHP_5_3_10/tests/security/open_basedir_parse_ini_file.phpt
___________________________________________________________________
Modified: svn:mergeinfo
-
/php/php-src/trunk/tests/security/open_basedir_parse_ini_file.phpt:265951,305015,305018-305019
+
/php/php-src/branches/PHP_5_3/tests/security/open_basedir_parse_ini_file.phpt:323007
/php/php-src/trunk/tests/security/open_basedir_parse_ini_file.phpt:265951,305015,305018-305019
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php