[pcre-dev] [Bug 1016] New: (*SKIP) at the start offset may c…

Pàgina inicial
Delete this message
Autor: jaytea
Data:  
A: pcre-dev
Assumptes nous: [pcre-dev] [Bug 1016] (*SKIP) at the start offset may cause hanging
Assumpte: [pcre-dev] [Bug 1016] New: (*SKIP) at the start offset may cause hanging
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1016
           Summary: (*SKIP) at the start offset may cause hanging
           Product: PCRE
           Version: 8.02
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: jay__tea@???
                CC: pcre-dev@???



The following were tested using mIRC v7.1's $regex() function:

String: abc
Regex: /b?(*SKIP)c/

Results in the client hanging, presumably awaiting a response from the PCRE
library.

String: bc
Regex: /b?(*SKIP)c/

Returns a successful match, as it should.

The following example also does not produce a hang:

String: a
Regex: /(*SKIP)bc/

Whereas this one does:

String: a
Regex: /(*SKIP)b/

I'm not sure if this issue is still present in PCRE v8.10 but I can't see
anything in the changelog about it.


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