Re: [pcre-dev] Getting crash when searching binary data with…

Startseite
Nachricht löschen
Autor: Petr Pisar
Datum:  
To: pcre-dev
Betreff: Re: [pcre-dev] Getting crash when searching binary data with case-insensitive option
On Tue, Sep 15, 2020 at 09:21:07AM +0200, Petr Pisar via Pcre-dev wrote:
> But I found what triggers the misbehaviour of your code. It's the
> PCRE2_CASELESS option. Without it it work's like a charm.
>

I minimized the reproducer:

$ printf '%s\n%s\n' '/A/utf,match_invalid_utf,caseless' "\xe5"'A' | pcre2test
PCRE2 version 10.35 2020-05-09
/A/utf,match_invalid_utf,caseless
\xe5A
No match

-- Petr