preg_match and shared libpcre3 bug
| From: | Matthias Pigulla | Date: | Fri, 09 Nov 2007 15:47:05 +0000 |
| Subject: | preg_match and shared libpcre3 bug | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-33068@lists.php.net to get a copy of this message | ||
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!
-mp.