[pcre-dev] [Bug 990] New: Crash after malloc failure

Top Page
Delete this message
Author: 990
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 990] New: Crash after malloc failure
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=990
           Summary: Crash after malloc failure
           Product: PCRE
           Version: N/A
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: high
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: eleventeen@???
                CC: pcre-dev@???



In pcre_exec.c:

#define RMATCH(ra,rb,rc,rd,re,rf,rg,rw)\
{\
heapframe *newframe = (pcre_stack_malloc)(sizeof(heapframe));\
frame->Xwhere = rw; \
newframe->Xeptr = ra;\

if newframe is NULL PCRE will crash.


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