#25932 [Opn->Fbk]: s (PCRE_DOTALL) modifier makes Apache2 crash
| From: | iliaa@php.net | Date: | Tue, 21 Oct 2003 14:54:15 +0000 |
| Subject: | #25932 [Opn->Fbk]: s (PCRE_DOTALL) modifier makes Apache2 crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-49286@lists.php.net to get a copy of this message | ||
ID: 25932
Updated by: iliaa@php.net
Reported By: dcahh at gmx dot de
-Status: Open
+Status: Feedback
Bug Type: PCRE related
Operating System: W2K Prof
PHP Version: 4.3.4RC2
New Comment:
What is the XML file used?
Previous Comments:
------------------------------------------------------------------------
[2003-10-21 06:15:42] dcahh at gmx dot de
Description:
------------
I tried to parse a .xml-file using the regular expression as below.
Using the s modifier reproduces a crash, leaving it away the crash does
not appear.
System message:
The exception "unkown software expection" (0xc00000fd) occured in the
program at 0x00c3912d. OK / Cancel
(translated from German error message)
Reproduce code:
---------------
preg_match_all('~<(\w+)/?>(.)*</(\1)>~sm', $this->sFile, $aTags); //
havin s modifier reproduces the crash, leaving it away = no crash
Expected result:
----------------
Regular Expression matches
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25932&edit=1