[pcre-dev] [Bug 2044] New: null pointer dereference in main …

Page principale
Supprimer ce message
Auteur: admin
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 2044] New: null pointer dereference in main (pcretest.c)
https://bugs.exim.org/show_bug.cgi?id=2044

            Bug ID: 2044
           Summary: null pointer dereference in main (pcretest.c)
           Product: PCRE
           Version: 8.40
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: ago@???
                CC: pcre-dev@???


Created attachment 984
--> https://bugs.exim.org/attachment.cgi?id=984&action=edit
stacktrace

Hello,

I found a null pointer dereference through fuzzing. Additionally, the Undefined
behavior sanitizer report a signed integer overflow.
It was tested on version 8.40, compiled with clang-3.9.1

Output, included stacktrace in attachment.

Command to reproduce:
# pcretest -16 -d $FILE

Reproducer:
https://github.com/asarubbo/poc/blob/master/00195-pcre-nullptr-main

( I know that is preferable attach reproducer here, but this link won't expire
in the future )

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