Package: php5
Version: 5.2.0-8+etch13
Severity: normal
code that triggers the error, dug up from inside the zend framework
<?php
$q = '\'';
$qe = '\\\\\'';
preg_replace("/$q($qe|\\\\{2}|[^$q])*$q/", '', str_pad('\'',6000, 'a'));
echo 'Success', PHP_EOL;
?>
output:
Segmentation fault
expected output:
Success
phpinfo() puts the pcre library at: 6.7.7.4 2008-07-04
It may be related to: http://bugs.exim.org/show_bug.cgi?id=809
-- System Information:
Debian Release: 4.0
APT prefers oldstable
APT policy: (500, 'oldstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-etchnhalf.1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages php5 depends on:
ii libapache2-mod-php5 5.2.0-8+etch13 server-side, HTML-embedded
scripti
ii php5-common 5.2.0-8+etch13 Common files for packages
built fr
php5 recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org