This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: [perl #131642] pack returning malformed UTF-8
authorKarl Williamson <khw@cpan.org>
Mon, 2 Jul 2018 04:39:47 +0000 (22:39 -0600)
committerKarl Williamson <khw@cpan.org>
Fri, 8 Mar 2019 19:41:03 +0000 (12:41 -0700)
commitfd879d933c2a2ee22ac6e2462acc016aa033854d
tree9d38a5e31c22c1eb84ee2d95d642a7026aa45da6
parent56e36cbf2fdf9d90f61690c1c3fc35af0d65e0cd
PATCH: [perl #131642] pack returning malformed UTF-8

This patch causes pack to die rather than return malformed UTF-8.  This
protects the rest of the core from unexpectedly getting malformed
inputs.
pp_pack.c
t/lib/warnings/utf8
t/op/pack.t