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)
commitb7d798d66e9bbbf5a60d21864d3d5b10cb4adb29
tree9521906349857015d508b0330e0c6d93a226fc03
parent1e629c2290cf7b0cfc69d56f21dbb4c53f60127d
parentd22ec71778db5c28dfb4e339337f90dad5d214f9
Merge branch 'utf8 fixes' into blead

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.