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

Góra strony
Delete this message
Autor: Florian Pritz
Data:  
Dla: pcre-dev
Temat: [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