[pcre-dev] [Bug 1162] [regression] segfault since 8.13

Top Page
Delete this message
Author: Florian Pritz
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1162] [regression] segfault since 8.13
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1162




--- Comment #4 from Florian Pritz <bluewind@???> 2011-10-05 17:06:00 ---
(In reply to comment #3)
> Could you narrow the pattern which is responsible
> for it?
>


Looks like the preg_match call in geshi.php:2234 causes the segfault and it
uses this pattern:

/(?P<start><\?(?>php\b)?)(?:(?>[^"'?\/<]+)|\?(?!>)|(?>'(?>[^'\\]|\\'|\\\\|\\)*')|(?>"(?>[^"\\]|\\"|\\\\|\\)*")|(?>\/\*(?>[^\*]|(?!\*\/)\*)*\*\/)|\/\/(?>.*?$)|\/(?=[^*\/])|<(?!<<)|<<<(?P<phpdoc>\w+)\s.*?\s\k<phpdoc>)*(?P<end>\?>|\Z)/sm


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email