[pcre-dev] [Bug 1233] Segfault at replacement in long string

Αρχική Σελίδα
Delete this message
Συντάκτης: Petr Pisar
Ημερομηνία:  
Προς: pcre-dev
Αντικείμενο: [pcre-dev] [Bug 1233] Segfault at replacement in long string
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

Petr Pisar <ppisar@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppisar@???





--- Comment #3 from Petr Pisar <ppisar@???> 2012-05-10 07:48:30 ---
Your regular expression is equivalent to /'(.)*'/s. And the segfault occurs
even with /(.)*/ because you exhaust stack with enormous number of possessing
matches.

You can increase stack size (ulimit -s) or recompile pcre to use heap instead
of stack.


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