Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15483 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88731 invoked by uid 1010); 18 Mar 2005 10:46:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 88627 invoked from network); 18 Mar 2005 10:46:50 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 18 Mar 2005 10:46:50 -0000 X-Host-Fingerprint: 66.111.4.25 out1.smtp.messagingengine.com Received: from ([66.111.4.25:38413] helo=out1.smtp.messagingengine.com) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id 34/42-50708-A91BA324 for ; Fri, 18 Mar 2005 05:46:50 -0500 Received: from web2.messagingengine.com (web2.internal [10.202.2.211]) by frontend1.messagingengine.com (Postfix) with ESMTP id 517C1C62497; Fri, 18 Mar 2005 05:46:47 -0500 (EST) Received: by web2.messagingengine.com (Postfix, from userid 99) id 8A5282971; Fri, 18 Mar 2005 05:46:44 -0500 (EST) Message-ID: <1111142804.12003.218626253@webmail.messagingengine.com> X-Sasl-Enc: G54SrlkbooSyaKC90jaeAfBFExLblvuQ7jljwIOEg4hT 1111142804 To: sniper@php.net, curt@php.net, jed@php.net, tony2001@php.net Cc: internals@lists.php.net Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) Date: Fri, 18 Mar 2005 02:46:44 -0800 Subject: Fix for 30818, 28839, 32229, 30513 From: kameshj@fastmail.fm ("Kamesh Jayachandran") 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? With regards Kamesh Jayachandran