In Perl_sv_utf8_upgrade_flags(), don't assume that the SV is well
authorNicholas Clark <nick@ccl4.org>
Fri, 11 Jul 2008 19:42:14 +0000 (19:42 +0000)
committerNicholas Clark <nick@ccl4.org>
Fri, 11 Jul 2008 19:42:14 +0000 (19:42 +0000)
commit4612962a4858c44dd33e3b80c5cbd3f836ae0808
treef6db390f04a99a249a723e07750969e8f3a4a1c6
parenta49b46c637e9dbdc0b6d3f7b8eef535cb1630908
In Perl_sv_utf8_upgrade_flags(), don't assume that the SV is well
formed with a trailing '\0'. And do assume that bytes_to_utf8() does.

p4raw-id: //depot/perl@34128
sv.c