[pcre-dev] [Bug 2076] New: pcre2_callout_enumerate() checks …

Top Page

Reply to this message
Author: admin
To: pcre-dev
Subject: [pcre-dev] [Bug 2076] New: pcre2_callout_enumerate() checks re for NULL too late

            Bug ID: 2076
           Summary: pcre2_callout_enumerate() checks re for NULL too late
           Product: PCRE
           Version: 10.23 (PCRE2)
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: ppisar@???
                CC: pcre-dev@???

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

If SUPPORT_UNICODE is defined, re variable is dereferenced without checking re
for NULL:

BOOL utf = (re->overall_options & PCRE2_UTF) != 0;

if (re == NULL) return PCRE2_ERROR_NULL;

10.23 as well as SVN tip is affected. Fix is attached.

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