[pcre-dev] [Bug 2367] multiple crashes when compiled with AS…

Top Page

Reply to this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 2367] multiple crashes when compiled with ASAN
https://bugs.exim.org/show_bug.cgi?id=2367

Philip Hazel <ph10@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED


--- Comment #3 from Philip Hazel <ph10@???> ---
Thanks for diagnosing this, Zoltan. There was indeed a bug in the handling of
OP_TRUE in pcre2_dfa_match(). I am surprised nobody noticed it, but perhaps of
the small number of people who use DFA matching, even fewer use the VERSION
test. Anyway, I have fixed the bug and committed the patch. Also added a
VERSION test to the DFA matching tests, which was something that should have
been created long ago.

I will close this issue now, since, as Zoltan says, passing invalid UTF while
at the same time disabling the check is documented to fail. If there are any
other issues here that we have not found, please re-open the bug.

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