]> granicus.if.org Git - php/commitdiff
Complete the fix for handling of exceptions happening during the
authorZeev Suraski <zeev@php.net>
Wed, 11 Feb 2004 09:42:58 +0000 (09:42 +0000)
committerZeev Suraski <zeev@php.net>
Wed, 11 Feb 2004 09:42:58 +0000 (09:42 +0000)
argument passing phase of function calls (fixes bug #26866)

Zend/zend_execute_API.c

index 1064074e60f5510447af18723e7bde073a69e7b5..dc1a90313c7ca21476fad4634aeff0be96cb389e 100644 (file)
@@ -141,6 +141,7 @@ void init_executor(TSRMLS_D)
        EG(in_autoload) = 0;
 
        zend_ptr_stack_init(&EG(argument_stack));
+       zend_ptr_stack_push(&EG(argument_stack), (void *) NULL);
 
        zend_hash_init(&EG(symbol_table), 50, NULL, ZVAL_PTR_DTOR, 0);
        {