Bug#574156: Bug#572515: Perl-Debug output
Niko Tyni
ntyni at debian.org
Sat Nov 6 12:36:10 UTC 2010
retitle 574156 Data::Dumper crash with invalid utf8
thanks
On Sat, Nov 06, 2010 at 02:15:14PM +0200, Niko Tyni wrote:
> On Tue, Mar 16, 2010 at 07:21:07PM +0100, Patrick Matthäi wrote:
> > retitle #511080 Illegal mix of collations
> > reopen #572515
> > severity #572515 normal
> > clone #572515
> > reassign -1 perl
> > merge #511080 #572515
> > thanks
>
> > it is a bug in both, otrs and perl itself.
> > Dumper.pm shouldn't crash.
>
> A test case would have helped. I was able to come up with
>
> perl -w -MData::Dumper -MEncode -e 'my $a=("A"x400) . "ab\x{fc}\x{67}\x{bc}de"; Encode::_utf8_on($a); Dumper $a'
>
> which crashes for me with perl but not debugperl.
>
> Using the internal function Encode::_utf8_on(), particularly with invalid
> input, is asking for trouble, but I'll see what I can do.
Oops, that went to a wrong bug. Sorry, Patrick. Resending and retitling.
--
Niko Tyni ntyni at debian.org
More information about the Perl-maintainers
mailing list