This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Avoid a panic from the UTF-8 length cache if the length overflows 32 bits.
authorNicholas Clark <nick@ccl4.org>
Thu, 18 Feb 2010 15:38:11 +0000 (15:38 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 18 Feb 2010 15:52:10 +0000 (15:52 +0000)
commit566a4373528224e69d78518db4305047a2cbe53f
treef1c1f1295e93be270d915de75998856cb08fe0f0
parent703c388dcb4a811f77272cdb5e507d0bbc23dca7
Avoid a panic from the UTF-8 length cache if the length overflows 32 bits.

Rather than storing a value, and having it wrap to a wrong value, treat such
lengths as "still unknown". This is a work around until a proper solution is
designed an implemented.
sv.c