[pcre-dev] [Bug 1519] New: pcre_compile crash on solaris

Top Page
Delete this message
Author: Prashant Joshi
Date:  
To: pcre-dev
New-Topics: [pcre-dev] [Bug 1519] Code
Subject: [pcre-dev] [Bug 1519] New: pcre_compile crash on solaris
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1519
           Summary: pcre_compile crash on solaris
           Product: PCRE
           Version: 8.34
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: bug
          Priority: critical
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: pjoshi@???
                CC: pcre-dev@???



Issue:

=>[1] compare_opcodes(code = 0x10040a276 "n", utf = 0, cd = 0xffffffff7fffe3a8,
base_list = 0xffffffff7fffd0a8, base_end = 0x10040a24b "x"), line 3258 in
"pcre_compile.c"
[2] auto_possessify(code = 0x10040a249 "W^Hx", utf = 0, cd =
0xffffffff7fffe3a8), line 3593 in "pcre_compile.c"
[3] pcre_compile2(pattern = 0xffffffff7fffe798 "^(\S+)\s*([0-9][0-9]+)%$",
options = 0, errorcodeptr = (nil), errorptr = 0xffffffff7fffe698, erroroffset =
0xffffffff7fffe6a0, tables = 0x10020fdb2 ""), line 9210 in "pcre_compile.c"
[4] pcre_compile(pattern = 0xffffffff7fffe798 "^(\S+)\s*([0-9][0-9]+)%$",
options = 0, errorptr = 0xffffffff7fffe698, erroroffset = 0xffffffff7fffe6a0,
tables = (nil)), line 8686 in "pcre_compile.c"

pcre_compile is pcre lib function.
We have used 8.34 version of lib.
Above is call stack of crash.

Regex used:
“/^(\S+)\s*([0-9][0-9]+)%$/”


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