Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42265 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98805 invoked from network); 15 Dec 2008 11:32:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Dec 2008 11:32:16 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.116 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.116 us-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [63.205.162.116] ([63.205.162.116:4222] helo=us-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/00-24547-E3046494 for ; Mon, 15 Dec 2008 06:32:15 -0500 Received: from [10.1.2.44] ([10.1.2.44]) by us-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 15 Dec 2008 03:32:41 -0800 Message-ID: <49464039.2080904@zend.com> Date: Mon, 15 Dec 2008 13:32:09 +0200 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Xuefer CC: PHP Developers Mailing List References: <28139bc0812112058o7e8ba8bm8db7ecc57be08b3e@mail.gmail.com> In-Reply-To: <28139bc0812112058o7e8ba8bm8db7ecc57be08b3e@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Dec 2008 11:32:42.0222 (UTC) FILETIME=[D7A548E0:01C95EA8] Subject: Re: [PHP-DEV] 5.3 cvs zend_do_begin_dynamic_function_call ZEND_OP_DATA op2 not initialized From: stas@zend.com (Stanislav Malyshev) Hi! Thanks, fixed. Xuefer wrote: > opline2->op2.op_type == 0, which should be opline2->op2.op_type == > IS_UNUSED. patch followed: > > $ cvs diff zend_compile.c > Index: zend_compile.c > =================================================================== > RCS file: /repository/ZendEngine2/zend_compile.c,v > retrieving revision 1.647.2.27.2.41.2.95 > diff -u -r1.647.2.27.2.41.2.95 zend_compile.c > --- zend_compile.c 26 Nov 2008 00:57:05 -0000 1.647.2.27.2.41.2.95 > +++ zend_compile.c 12 Dec 2008 04:54:42 -0000 > @@ -1664,6 +1664,7 @@ > Z_LVAL(opline2->op1.u.constant) = prefix_len; > /* this is the hash of the non-prefixed part, lowercased */ > opline2->extended_value = zend_hash_func(slash+1, name_len+1); > + SET_UNUSED(opline2->op2); > } else { > opline->opcode = ZEND_INIT_FCALL_BY_NAME; > opline->op2 = *function_name; > -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com