On Fri, 18 Mar 2005, Kamesh Jayachandran wrote:
> Hi,
> In case of interactive mode the
> for ZEND_JMP
> op1.u.jmp_addr is not evaluated, it still has the relative diff from the
> current opcode.
>
> for ZEND_JMP, ZEND_JMPNZ, ZEND_JMPZ_EX, ZEND_JMPNZ_EX
> op2.u.jmp_addr is not evaluated, it still has the relative diff from the
> current opcode.
>
> This normally happens from pass_two.
> I am attaching the patch which does this jmp_addr evaluation. This patch
> is against php-5.0.4-dev-RC[2].
>
> http://puggy.symonds.net/~kameshj/zend_execute_API.c.patch
>
> Can someone apply this patch?
Would this also be applicable to 4.3?
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org