#26171 [Fbk->Opn]: using /(a)+/ to match a long string makes php crash

From: Date: Sat, 08 Nov 2003 18:20:24 +0000
Subject: #26171 [Fbk->Opn]: using /(a)+/ to match a long string makes php crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-50163@lists.php.net to get a copy of this message
 ID:               26171
 User updated by:  xuefer at 21cn dot com
 Reported By:      xuefer at 21cn dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         PCRE related
 Operating System: win
 PHP Version:      4.3.4
 New Comment:

apache2
[Sun Nov 09 02:20:30 2003] [notice] Parent: child process exited with
status 128 -- Restarting.
still crashing

but what system did u pass the test?


Previous Comments:
------------------------------------------------------------------------

[2003-11-08 12:50:57] iliaa@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Works fine here with PHP4 & PHP5.

------------------------------------------------------------------------

[2003-11-07 22:53:28] xuefer at 21cn dot com

Description:
------------
if just crash

Reproduce code:
---------------
<?php
preg_match('/(aa)+/', str_repeat('a', 1000));
?>



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26171&edit=1


Thread (8 messages)

« previous php.bugs (#50163) next »