[pcre-dev] [Bug 1862] New: PCRE crashes due to stack overflo…

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1862] New: PCRE crashes due to stack overflow
https://bugs.exim.org/show_bug.cgi?id=1862

            Bug ID: 1862
           Summary: PCRE crashes due to stack overflow
           Product: PCRE
           Version: 8.39
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: pcrebug@???
                CC: pcre-dev@???


Created attachment 914
--> https://bugs.exim.org/attachment.cgi?id=914&action=edit
Test file for pcregrep

If file with long (more than approximately 50000 characters) line is used as
input for pcregrep, libpcre crashes with SIGSEGV due to stack overflow.

Use the following command with attached file to reproduce this bug:
$ cat test.txt | pcregrep '\[(0x[0-9a-fA-F]{2}\,?){64,}\]'

Current stack size is 8192 KB, after increasing stack size with ulimit -s
pcregrep did not fail.

--
You are receiving this mail because:
You are on the CC list for the bug.