This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix an out of bounds write in Data-Dumper with malformed utf8 input
authorNiko Tyni <ntyni@debian.org>
Sat, 6 Nov 2010 19:44:35 +0000 (21:44 +0200)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 7 Nov 2010 20:36:41 +0000 (12:36 -0800)
commit7d3a730ee869d89a6f40963c80aaa0e044b0c7d2
tree3f6d783c0c89bbe4570ef246c4349f4c8a2bd9cf
parent6d351bf2e060da9a1c13a1f7c2deb014f74fe6b8
Fix an out of bounds write in Data-Dumper with malformed utf8 input

When warnings are enabled and Dumper() is called with an invalid utf8
string that still has the UTF8 flag on, esc_q_utf8() miscounts the size
of the escaped string.
dist/Data-Dumper/Dumper.xs
dist/Data-Dumper/t/bugs.t