[pcre-dev] [Bug 1121] Infinite recursive + crash

Top Page
Delete this message
Author: Marco Cimmino
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1121] Infinite recursive + crash
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #9 from Marco Cimmino <cimmino.marco@???> 2011-06-22 12:24:47 ---
Limiting the recursion fixes the issue, obviously does not recognize long
matches, but that is fine for me.

One OT in the documentation I think there is a typo:
from http://www.pcre.org/pcre.txt

       Normally, to pass one or more modifiers to a RE class,  you  declare  a
       RE_Options object, set the appropriate options, and pass this object to
       a RE constructor. Example:


          RE_options opt;
          opt.set_caseless(true);
          if (RE("HELLO", opt).PartialMatch("hello world")) ...



I think should be:
          RE_Options opt;



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