https://bugs.exim.org/show_bug.cgi?id=2076
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: p...@hermes.cam.ac.uk Reporter: ppi...@redhat.com CC: pcre-dev@exim.org Created attachment 1005 --> https://bugs.exim.org/attachment.cgi?id=1005&action=edit Fix If SUPPORT_UNICODE is defined, re variable is dereferenced without checking re for NULL: #ifdef SUPPORT_UNICODE BOOL utf = (re->overall_options & PCRE2_UTF) != 0; #endif 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. -- ## List details at https://lists.exim.org/mailman/listinfo/pcre-dev