Bug#864782: perl: Regexp matching crashes claiming string is malformed Utf8, despite it is valid.

Niko Tyni ntyni at debian.org
Wed Jun 14 20:08:46 UTC 2017


Control: forwarded -1 https://rt.perl.org/Ticket/Display.html?id=131575

On Wed, Jun 14, 2017 at 09:28:44PM +0300, Niko Tyni wrote:
> On Wed, Jun 14, 2017 at 07:16:35PM +0200, Benjamin Bayart wrote:
> > Package: perl
> > Version: 5.24.1-3
> > Severity: normal
> > Tags: upstream
> 
> > In some cases, some valid utf-8 chinese (or japanese Kanji) chars
> > in a perl string makes perl die on "Malformed UTF-8" while matching
> > a regexp.

> I'll try to bisect this and forward upstream.

This seems to have regressed in 5.23.4 with

 https://perl5.git.perl.org/perl.git/commit/147f21b5b8054c559a1ffb568dbf310244fa0c91

and I've forwarded the issue upstream as

 https://rt.perl.org/Ticket/Display.html?id=131575

-- 
Niko Tyni   ntyni at debian.org




More information about the Perl-maintainers mailing list