This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Merge branch 'utf8 fixes' into blead
authorKarl Williamson <khw@cpan.org>
Thu, 13 Jul 2017 03:15:09 +0000 (21:15 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 13 Jul 2017 03:15:09 +0000 (21:15 -0600)
This branch reimplements the forbidding of code points above IV_MAX in
such a way that encountering UTF-8 evaluating to such doesn't kill the
receiving process, but is treated as an ordinary overflow.  To do
otherwise can lead to Denial of Service attacks.

It fixes several bugs that occur only on UTF-8 that is malformed or for
very large code points.

And it cleans up and revamps the testing of the XS API for UTF-8 so that
more coverage is done, but in a fraction of the previous time needed.


Trivial merge