Re: com php-src: Fixed Bug #62005 (unexpected behavior when incrementally assigning to a member of a null object): NEWS Zend/tests/bug62005.phpt
Zend/zend_execute.c
| From: | Stas Malyshev | Date: | Sat, 12 May 2012 08:54:53 +0000 |
| Subject: | Re: com php-src: Fixed Bug #62005 (unexpected behavior when incrementally assigning to a member of a null object): NEWS Zend/tests/bug62005.phpt Zend/zend_execute.c |
||
| References: | 1 2 3 4 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-69044@lists.php.net to get a copy of this message | ||
Hi!
> in the zend_error->php_error_cb, it will rebuild the
> active_symbol_table(if it is not built), which will change the
> execute_data->CVs[0] . then ~
Hmmm... changing CVs when there are active pointers to them may be
pretty bad idea. I think this fix does not fix the actual problem, only
hides it - we may have other places which use CVs but can produce errors
which change those CVs. Even in that code - what if some error message
is produced somewhere on the way for some reason?
I'm not sure how to fix it properly yet - maybe worth also asking Dmitry
maybe he has some insight.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227