[pcre-dev] [Bug 1615] New: Segfault in jit

Top Page
Delete this message
Author: Greg Hazel
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1615] New: Segfault in jit
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1615
           Summary: Segfault in jit
           Product: PCRE
           Version: 8.35
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: ghazel@???
                CC: pcre-dev@???



I suspected this was due to invalid UTF-8 in the input, so I switched from
pcre_jit_exec(...PCRE_NO_UTF8_CHECK...) to pcre_exec(), but the crash remains.

It's roughly impossible to debug. Adding printfs changes it, testing the input
in isolation doesn't crash, etc. However, I can fairly easily reproduce it in
the context of my application, if you can think of anything to try. Valgrind
notices the jit accesses beyond the end of the input.


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