[pcre-dev] [Bug 1595] segfault in pcre_exec

Startseite
Nachricht löschen
Autor: Philip Hazel
Datum:  
To: pcre-dev
Betreff: [pcre-dev] [Bug 1595] segfault in pcre_exec
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

Philip Hazel <ph10@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID





--- Comment #1 from Philip Hazel <ph10@???> 2015-03-04 09:41:24 ---
Thanks for the report. However, this is just a classic case of running out of
system stack. PCRE uses recursive function calls to remember backup points, and
a pattern such as yours, which matches only one character in a repeated group,
is going to use up lots and lots of stack when applied to a long subject. There
are features in PCRE for limiting the amount of stack that is used, but the
defaults are large. See "man pcrestack" for more details.


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