#28461 [Opn->Fbk]: segmentation fault when using backreferences on a long string
| From: | tony2001@php.net | Date: | Wed, 16 Nov 2005 09:21:25 +0000 |
| Subject: | #28461 [Opn->Fbk]: segmentation fault when using backreferences on a long string | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88248@lists.php.net to get a copy of this message | ||
ID: 28461
Updated by: tony2001@php.net
Reported By: xanthor at xanthor dot tk
-Status: Open
+Status: Feedback
Bug Type: PCRE related
Operating System: *
PHP Version: 4.4.1
Assigned To: andrei
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-11-16 04:48:51] xanthor at xanthor dot tk
Still crashes with 4.4.1, increasing the length of the string.
------------------------------------------------------------------------
[2005-06-30 01:00:04] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-06-22 21:51:39] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Can't reproduce with latest PHP4 and PHP5 snapshots (PCRE was upgraded
to 5.0, this might have fixed it).
------------------------------------------------------------------------
[2004-12-09 14:57:59] jorton@php.net
This is the standard "PCRE uses on-stack recursion" bug which has been
filed and closed umpteen times. To reproduce just increase the length
of the string until exhausts your stack space.
One way PHP could mitigate the issue is to to set the match_limit field
in the pcre_extra structure which puts a limit on the depth of the stack
recursion.
------------------------------------------------------------------------
[2004-12-09 14:13:26] xanthor at xanthor dot tk
Still segfault with PHP 4.3.10RC2 and PCRE Library Version 4.5
01-December-2003
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/28461
--
Edit this bug report at http://bugs.php.net/?id=28461&edit=1