Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33068 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28356 invoked by uid 1010); 9 Nov 2007 15:47:09 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 28341 invoked from network); 9 Nov 2007 15:47:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Nov 2007 15:47:08 -0000 Authentication-Results: pb1.pair.com header.from=mp@webfactory.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mp@webfactory.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain webfactory.de from 195.227.108.51 cause and error) X-PHP-List-Original-Sender: mp@webfactory.de X-Host-Fingerprint: 195.227.108.51 wfserver02.wf-ppr.de Windows 2000 SP2+, XP SP1 (seldom 98 4.10.2222) Received: from [195.227.108.51] ([195.227.108.51:23387] helo=wfserver02.wf-ppr.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AB/60-24268-CF084374 for ; Fri, 09 Nov 2007 10:47:08 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Fri, 9 Nov 2007 16:47:05 +0100 Message-ID: <00A2E2156BEE8446A81C8881AE117F199A02FC@companyweb> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: preg_match and shared libpcre3 bug Thread-Index: Acgi58NtMpdwoljfQNa5teQ8znZD9w== To: Subject: preg_match and shared libpcre3 bug From: mp@webfactory.de ("Matthias Pigulla") I know this is weird and off-topic but I hope that someone here can give me a starting pointer. With installing a security update for the pcre3 library on Debian (http://lists.debian.org/debian-security-announce/debian-security-announ ce-2007/msg00177.html), preg_match('|^\(|', 'xxx') suddenly returns 1 instead of 0 using PHP 5.1.6. The thing is - I have built PHP using the bundled PCRE library and the error happens only with the apache2 module, not with a CLI binary. phpinfo() shows PCRE 6.6 and ldd shows no dependencies against the shared libpcre.so.3, neither for the php-cli binary nor for the apache module. Any ideas what might cause that? I can't see why the shared library update makes a difference at all. Thanks!=20 -mp.