Bug#1006280: perl: panic on s///gre with tainted utf8 strings

2022-03-01 Thread Niko Tyni
Control: forwarded -1 https://github.com/Perl/perl5/issues/19478 On Tue, Feb 22, 2022 at 06:37:48PM +0100, Kacper Gutowski wrote: > Package: perl > Version: 5.34.0-3 > Severity: normal > > Sometimes when doing s///gre on tainted utf8 string, perl warns about > malformed UTF-8 characters or

Bug#1006280: perl: panic on s///gre with tainted utf8 strings

2022-02-22 Thread Kacper Gutowski
Package: perl Version: 5.34.0-3 Severity: normal Sometimes when doing s///gre on tainted utf8 string, perl warns about malformed UTF-8 characters or outright panics. This warns: $ perl -Twe '$_ = $^X =~ s/./"\x{10469}"/gre' Malformed UTF-8 character (unexpected end of string) in substitution