This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #128238] Crash with non-stash in stash
authorFather Chrysostomos <sprout@cpan.org>
Fri, 24 Jun 2016 04:57:09 +0000 (21:57 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 24 Jun 2016 04:57:30 +0000 (21:57 -0700)
commit9e5cda6b852ca831004628051cf32c1576146452
tree232416266549fadce75d64f83e2269e43a685f7b
parent59fe5989cd9d8fa61d51c7fceb20334ffe0d194d
[perl #128238] Crash with non-stash in stash

This is a follow-up to e7acdfe976f.  Even if the name of the stash
entry ends with ::, it may not itself contain a real stash (though
this only happens with code that assigns directly to stash entries,
which has undefined behaviour according to perlmod), so skip hashes
that are not stashes.
gv.c
t/op/stash.t