Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute_API.c
| From: | Antony Dovgal | Date: | Wed, 01 Oct 2008 14:32:39 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute_API.c | ||
| References: | 1 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-7144@lists.php.net to get a copy of this message | ||
Marcus, please check this out.
I've no idea what should be the initial value, but setting it to 0 fixes invalid
reads/segfaults for me.
On 01.10.2008 18:30, Antony Dovgal wrote:
> tony2001 Wed Oct 1 14:30:50 2008 UTC
>
> Modified files:
> /ZendEngine2 zend_execute_API.c
> Log:
> initialize variable
>
>
>
> http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_execute_API.c?r1=1.464&r2=1.465&diff_format=u
> Index: ZendEngine2/zend_execute_API.c
> diff -u ZendEngine2/zend_execute_API.c:1.464 ZendEngine2/zend_execute_API.c:1.465
> --- ZendEngine2/zend_execute_API.c:1.464 Wed Sep 17 15:11:39 2008
> +++ ZendEngine2/zend_execute_API.c Wed Oct 1 14:30:50 2008
> @@ -17,7 +17,7 @@
> +----------------------------------------------------------------------+
> */
>
> -/* $Id: zend_execute_API.c,v 1.464 2008/09/17 15:11:39 dmitry Exp $ */
> +/* $Id: zend_execute_API.c,v 1.465 2008/10/01 14:30:50 tony2001 Exp $ */
>
> #include <stdio.h>
> #include <signal.h>
> @@ -159,6 +159,7 @@
> EG(in_execution) = 0;
> EG(in_autoload) = NULL;
> EG(autoload_func) = NULL;
> + EG(error_handling) = 0;
>
> zend_vm_stack_init(TSRMLS_C);
> zend_vm_stack_push((void *) NULL TSRMLS_CC);
>
>
>
--
Wbr,
Antony Dovgal