[pcre-dev] [Bug 1127] New: PCRE detects a false positive for…

Góra strony
Delete this message
Autor: Reko Tiira
Data:  
Dla: pcre-dev
Temat: [pcre-dev] [Bug 1127] New: PCRE detects a false positive for infinite recursion
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1127
           Summary: PCRE detects a false positive for infinite recursion
           Product: PCRE
           Version: 8.12
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: reko@???
                CC: pcre-dev@???



Here's a simple case to re-produce:

PCRE version 8.12 2011-01-15

re> /(?(R)a+|(?R)b)/

Failed: recursive call could loop indefinitely at offset 13

There's no way this regular expression could loop indefinitely, since (?R) is
part of the else section of a conditional that checks for recursion.


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