Your message dated Fri, 8 Jan 2010 17:45:07 +0100
with message-id <[email protected]>
and subject line #524409: php5: PCRE bug causes PHP to segfault
has caused the Debian Bug report #524409,
regarding php5: PCRE bug causes PHP to segfault
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
524409: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524409
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Version: 5.2.6.dfsg.1-1+lenny4

r...@howl:/tmp# php test.php
Success


-- 
Ondřej Surý <[email protected]>
http://blog.rfc1925.org/


--- End Message ---

Reply via email to