Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15484 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 294 invoked by uid 1010); 18 Mar 2005 10:56:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 99376 invoked from network); 18 Mar 2005 10:55:47 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 18 Mar 2005 10:55:47 -0000 X-Host-Fingerprint: 212.204.192.51 jdi.jdimedia.nl Linux 2.5 (sometimes 2.4) (4) Received: from ([212.204.192.51:42094] helo=jdi.jdimedia.nl) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id 90/92-50708-FA3BA324 for ; Fri, 18 Mar 2005 05:55:44 -0500 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.11/8.12.11) with ESMTP id j2IAteYn006060 for ; Fri, 18 Mar 2005 11:55:40 +0100 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.11/8.12.11) with ESMTP id j2IAtauE006040; Fri, 18 Mar 2005 11:55:36 +0100 Date: Fri, 18 Mar 2005 11:55:36 +0100 (CET) X-X-Sender: derick@localhost To: Kamesh Jayachandran cc: tony2001@php.net, andi@php.net, PHP Developers Mailing List In-Reply-To: <1111142804.12003.218626253@webmail.messagingengine.com> Message-ID: References: <1111142804.12003.218626253@webmail.messagingengine.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdimedia.nl Subject: Re: [PHP-DEV] Fix for 30818, 28839, 32229, 30513 From: derick@php.net (Derick Rethans) 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