Hello,
I got segfaults with the test tests/lang/bug24773.phpt. It seems the
test added in HEAD has been either lost or never applied.
Please find an attempt to fix as attachment, feel free to drop it and
apply your own and cleaner one ;-)
hth
pierre
About my previous post. This commit has been lost.
And the test:
(EX(Ts)[EX(opline)->result.u.var].EA.type ==IS_STRING_OFFSET)
is a bit cleaner than mine.
pierre
On Wed, 03 Dec 2003 19:33:17 -0000
moriyoshi@php.net (Moriyoshi Koizumi) wrote:
moriyoshi Wed Dec 3 14:33:17 2003 EDT
Modified files: (Branch: PHP_4_3)
/Zend zend_execute.c
Log:
MFZE2(r-1.557): Fix bug #24773 (unset()ing string offsets crashes
PHP)
About my previous post. This commit has been lost.
And the test:
(EX(Ts)[EX(opline)->result.u.var].EA.type ==IS_STRING_OFFSET)is a bit cleaner than mine.
My patch was reverted because it had a flaw and didn't address the whole
issue. DmItry already resolved it in ZE2 with the following patch.
I think this should be backported partly before 4.3.5 gets out of the
door.
http://news.php.net/article.php?group=php.zend-engine.cvs&article=2118
pierre
Moriyoshi
On Fri, 6 Feb 2004 21:44:48 +0900
Moriyoshi Koizumi moriyoshi@at.wakwak.com wrote:
I think this should be backported partly before 4.3.5 gets out of the
door.
Ilia MFH'd it. Looks like my patch was good, but in the
future I will rather check the cvs logs before trying anything ;)
pierre