Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute_API.c
| From: | Marcus Boerger | Date: | Tue, 07 Oct 2008 17:56:05 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute_API.c | ||
| References: | 1 2 3 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-7151@lists.php.net to get a copy of this message | ||
Hello Etienne,
you're correct.
Wednesday, October 1, 2008, 6:10:39 PM, you wrote:
> Hello,
> EH_NORMAL should be the default, which is == 0.
> http://lxr.php.net/source/ZendEngine2/zend.h#800
> Regards
> On Wed, Oct 1, 2008 at 3:32 PM, Antony Dovgal <tony@daylessday.org> wrote:
>> 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
>>
>> --
>> Zend Engine CVS Mailing List (http://cvs.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
> --
> Etienne Kneuss
> http://www.colder.ch
> Men never do evil so completely and cheerfully as
> when they do it from a religious conviction.
> -- Pascal
Best regards,
Marcus