[perl #128532] Crash vivifying stub in deleted pkg
authorFather Chrysostomos <[email protected]>
Mon, 4 Jul 2016 05:23:34 +0000 (22:23 -0700)
committerFather Chrysostomos <[email protected]>
Mon, 4 Jul 2016 15:27:35 +0000 (08:27 -0700)
commit63aab7ecaa6e826f845c405894bd8c4b6f601b39
tree01045739dc883807edafc18decfb92d6933b9ebf
parent5bb5179e4f3b8cc0e79b6acf3928984226974e48
[perl #128532] Crash vivifying stub in deleted pkg

v5.17.0-515-g186a5ba, which added newSTUB, did not take into account
that a GV may have a null GvSTASH pointer, if its stash has been
freed, so this crashes:

delete $My::{"Foo::"}; \&My::Foo::foo
op.c
t/op/ref.t