[pcre-dev] [Bug 2088] pointer was utilized before it was verified against nullptr: pcre2_pattern_info.c

2017-03-29 Thread admin
https://bugs.exim.org/show_bug.cgi?id=2088

--- Comment #4 from egoroff  ---
OK. No problem :) I tried to find duplicate before creating new bug but i
failed so i created it.

-- 
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 


[pcre-dev] [Bug 2088] pointer was utilized before it was verified against nullptr: pcre2_pattern_info.c

2017-03-29 Thread admin
https://bugs.exim.org/show_bug.cgi?id=2088

--- Comment #3 from Philip Hazel  ---
Thank you for the report, but yes, this has indeed already been fixed. See the
latest code at https://vcs.pcre.org/pcre2/

-- 
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 


[pcre-dev] [Bug 2088] pointer was utilized before it was verified against nullptr: pcre2_pattern_info.c

2017-03-28 Thread admin
https://bugs.exim.org/show_bug.cgi?id=2088

Petr Pisar  changed:

   What|Removed |Added

 CC||ppi...@redhat.com
 Resolution|--- |DUPLICATE
 Status|NEW |RESOLVED

--- Comment #2 from Petr Pisar  ---
I think this has already been fixed due to bug #2076.

*** This bug has been marked as a duplicate of bug 2076 ***

-- 
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 


[pcre-dev] [Bug 2088] pointer was utilized before it was verified against nullptr: pcre2_pattern_info.c

2017-03-28 Thread admin
https://bugs.exim.org/show_bug.cgi?id=2088

--- Comment #1 from egoroff  ---
You should do something like this:

#ifdef SUPPORT_UNICODE
BOOL utf;
#endif

if (re == NULL) return PCRE2_ERROR_NULL;

#ifdef SUPPORT_UNICODE
utf = (re->overall_options & PCRE2_UTF) != 0;
#endif

-- 
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