[pcre-dev] [Bug 1024] New: pcregrep crashes with multilines

Top Page
Delete this message
Author: felix groebert
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1024] New: pcregrep crashes with multilines
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1024
           Summary: pcregrep crashes with multilines
           Product: PCRE
           Version: 7.8
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: groebert@???
                CC: pcre-dev@???



hi,

I'm using pcregrep the following way:

gdb --args pcregrep -M 'va_start(.|\R)*va_end' someFileContainingIt.c
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff79bba52 in ?? () from /lib/libpcre.so.3

They backtrace hints at a stack recursion, so the impact could be a DoS.

pcregrep version 7.8 2008-09-05
Ubuntu Version: 7.8-3build1

Best,
Felix


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