dmitry Wed Aug 10 09:11:30 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src NEWS
/ZendEngine2 zend_execute.c
Log:
Fixed bug #34062 (Crash in catch block when many arguments are used)
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1760.2.461&r2=1.1760.2.462&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1760.2.461 php-src/NEWS:1.1760.2.462
--- php-src/NEWS:1.1760.2.461 Wed Aug 10 06:37:23 2005
+++ php-src/NEWS Wed Aug 10 09:11:28 2005
@@ -21,6 +21,8 @@
- Fixed segfaults when CURL callback functions throw exception. (Tony)
- Fixed bug #34064 (arr[] as param to function is allowed only if function
receives argument by reference). (Dmitry)
+- Fixed bug #34062 (Crash in catch block when many arguments are used).
+ (Dmitry)
- Fixed bug #33989 (extract($GLOBALS,EXTR_REFS) crashes PHP). (Dmitry)
- Fixed bug #33940 (array_map() fails to pass by reference when called
recursively). (Dmitry)
http://cvs.php.net/diff.php/ZendEngine2/zend_execute.c?r1=1.652.2.47&r2=1.652.2.48&ty=u
Index: ZendEngine2/zend_execute.c
diff -u ZendEngine2/zend_execute.c:1.652.2.47
ZendEngine2/zend_execute.c:1.652.2.48
--- ZendEngine2/zend_execute.c:1.652.2.47 Wed Aug 10 06:37:23 2005
+++ ZendEngine2/zend_execute.c Wed Aug 10 09:11:29 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_execute.c,v 1.652.2.47 2005/08/10 10:37:23 dmitry Exp $ */
+/* $Id: zend_execute.c,v 1.652.2.48 2005/08/10 13:11:29 dmitry Exp $ */
#define ZEND_INTENSIVE_DEBUGGING 0
@@ -4381,6 +4381,7 @@
while (*stack_zval_pp != NULL) {
zval_ptr_dtor(stack_zval_pp);
EG(argument_stack).top_element--;
+ EG(argument_stack).top--;
stack_zval_pp--;
}
--
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|