#26171 [Opn->Fbk]: using /(a)+/ to match a long string makes php crash
From: iliaa@php.net Date: Sat, 08 Nov 2003 17:50:57 +0000 Subject: #26171 [Opn->Fbk]: using /(a)+/ to match a long string makes php crash References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-50161@lists.php.net to get a copy of this message
ID: 26171
Updated by: iliaa@php.net
Reported By: xuefer at 21cn dot com
-Status: Open
+Status: Feedback
Bug Type: PCRE related
Operating System: win
PHP Version: 4.3.4
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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)
- #26171 [Opn->Fbk]: using /(a)+/ to match a long string makes php crash
- #26171 [Fbk->Opn]: using /(a)+/ to match a long string makes php crash
- #26171 [Opn->Fbk]: using /(a)+/ to match a long string makes php crash
- #26171 [Fbk->Opn]: using /(a)+/ to match a long string makes php crash
- #26171 [Opn->Fbk]: using /(a)+/ to match a long string makes php crash
- #26171 [Fbk->Opn]: using /(a)+/ to match a long string makes php crash
- #26171 [Opn->Bgs]: using /(a)+/ to match a long string makes php crash
| « previous | php.bugs (#50161) | next » |
|---|