Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7729 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90236 invoked by uid 1010); 11 Feb 2004 12:13:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 90202 invoked from network); 11 Feb 2004 12:13:33 -0000 Received: from unknown (HELO phoebe.host4u.net) (209.150.128.26) by pb1.pair.com with SMTP; 11 Feb 2004 12:13:33 -0000 Received: from ctdprimary (dsta-aa203.pivot.net [66.186.171.203]) by phoebe.host4u.net (8.11.6/8.11.6) with SMTP id i1BCDWF00726 for ; Wed, 11 Feb 2004 06:13:33 -0600 Message-ID: <012c01c3f098$bff69790$f7dea8c0@cyberware.local> To: Date: Wed, 11 Feb 2004 07:15:33 -0500 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0128_01C3F06E.D6CD1860" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Patch for zend_reflection_api From: rrichards@ctindustries.net ("Rob Richards") ------=_NextPart_000_0128_01C3F06E.D6CD1860 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0129_01C3F06E.D6CD1860" ------=_NextPart_001_0129_01C3F06E.D6CD1860 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Fixes a segfault when calling reflection_function::export('Foo'); and = function doesnt exist. ------=_NextPart_001_0129_01C3F06E.D6CD1860 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Fixes a segfault when calling=20 reflection_function::export('Foo'); and function doesnt=20 exist.
------=_NextPart_001_0129_01C3F06E.D6CD1860-- ------=_NextPart_000_0128_01C3F06E.D6CD1860 Content-Type: text/plain; name="zend_reflection_api.diff.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="zend_reflection_api.diff.txt" Index: zend_reflection_api.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /repository/ZendEngine2/zend_reflection_api.c,v retrieving revision 1.85 diff -u -r1.85 zend_reflection_api.c --- zend_reflection_api.c 4 Feb 2004 22:19:00 -0000 1.85 +++ zend_reflection_api.c 10 Feb 2004 14:38:50 -0000 @@ -1008,7 +1008,7 @@ if (zend_hash_find(EG(function_table), lcname, name_len + 1, (void = **)&fptr) =3D=3D FAILURE) { free_alloca(lcname); zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC,=20 - "Function %s() does not exist", Z_STRVAL_P(name)); + "Function %s() does not exist", name_str); return; } free_alloca(lcname); ------=_NextPart_000_0128_01C3F06E.D6CD1860--