|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-03-26 15:02 UTC] mmcnicklebugs at googlemail dot com
[2009-04-06 21:00 UTC] jani@php.net
[2009-04-06 23:17 UTC] gmblar+php at gmail dot com
[2009-04-06 23:19 UTC] gmblar+php at gmail dot com
[2009-04-10 15:31 UTC] nlopess@php.net
[2009-04-10 15:48 UTC] nlopess@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
Description: ------------ With more than 63 Subpattern in a Regular-Expression, PHP crashes with a Segmention-Fault. Reproduce code: --------------- <?php $regex = '@'; // works with $bar<63 for($bar=0; $bar<64; $bar++) { $regex .= '((?P<foo'.$bar.'>))'; } $regex .= '@'; preg_match($regex, 'foobar'); ?> Expected result: ---------------- Nothing Actual result: -------------- $ php foobar.php Segmentation fault