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

トップ ページ
このメッセージを削除
著者: admin
日付:  
To: pcre-dev
題目: [pcre-dev] [Bug 2367] multiple crashes when compiled with ASAN
https://bugs.exim.org/show_bug.cgi?id=2367

Zoltan Herczeg <hzmester@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hzmester@???


--- Comment #2 from Zoltan Herczeg <hzmester@???> ---
It seems there are two types of failures in the attached files.

Type 1:

/\P{L}/utf
\x{140000}\=no_utf_check

It is documented that PCRE2 does not support invalid utf data. So disabling utf
checks and crashing on invalid utf data is a valid behavior. PCRE2 JIT now
supports invalid utf data (only in trunk, not released yet). You just need to
pass PCRE2_JIT_INVALID_UTF option bit when the pattern is compiled by
pcre2_jit_compile().

Type 2:

/(?(VERSION>=0)^B0W)/utf
0\=dfa

Looks like there is a bug in the version check, although I don't see any
crashes. Perhaps there is a bug with handling OP_TRUE byte code.

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