This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Stop substr($utf8) from calling get-magic twice
authorFather Chrysostomos <sprout@cpan.org>
Fri, 31 Aug 2012 05:08:43 +0000 (22:08 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 31 Aug 2012 05:09:05 +0000 (22:09 -0700)
commit864329c3a6aadf41283abada71c1b343e164bad3
tree2a3773a72bde927a360555f3ff9b2d670ea30247
parent7d1328bb7c26d556809b1aed184cec377b18f20c
Stop substr($utf8) from calling get-magic twice

By calling get-magic twice, it could cause its string buffer to be
reallocated, resulting in incorrect and random return values.
embed.fnc
embed.h
pp.c
proto.h
sv.c
t/op/tie_fetch_count.t