[pcre-dev] [Bug 1467] Pcre hang up on specific regular expre…

Αρχική Σελίδα
Delete this message
Συντάκτης: Zoltan Herczeg
Ημερομηνία:  
Προς: pcre-dev
Αντικείμενο: [pcre-dev] [Bug 1467] Pcre hang up on specific regular expression and JIT enabled
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

Zoltan Herczeg <hzmester@???> changed:

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





--- Comment #2 from Zoltan Herczeg <hzmester@???> 2014-04-15 19:51:45 ---
Thank you for the bug report.

The pattern is a pathological case, and forces the engine to do an exponential
search. The interpreter return with PCRE_ERROR_MATCHLIMIT, but the JIT does
not. This should be fixed, but I cannot promise when, because I will go on
Holiday from tomorrow, and will be back after Easter.

Some extra info: "America's Best Wildlife Charity" triggers the search. The
same effect can be achieved by "\".?(.|a){1025}$" pattern.


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