This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #117941] Blessing into freed current stash
authorFather Chrysostomos <sprout@cpan.org>
Sat, 8 Jun 2013 06:56:23 +0000 (23:56 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 8 Jun 2013 07:14:12 +0000 (00:14 -0700)
commitdcdfe746ecfff81cc2793db4e7fdfe25be590e0b
tree3e7cdc9e93e36dc56dbe2306185d06e5e89c7cf1
parent94e7eb6fe4b29b1c1dbe5eb489b4bfae607d9350
[perl #117941] Blessing into freed current stash

If the current stash has been freed, bless() with one argument will
cause a crash when the object’s ‘stash’ is accessed.  Simply disallow-
ing this is the easiest fix.
pod/perldiag.pod
pp.c
t/op/bless.t