]> git.vpit.fr Git - perl/modules/Variable-Magic.git/commit
Prevent call_sv() in vmg_svt_free() to clobber the last popped context slot
authorVincent Pit <vince@profvince.com>
Sun, 19 Apr 2009 16:42:38 +0000 (18:42 +0200)
committerVincent Pit <vince@profvince.com>
Sun, 19 Apr 2009 16:42:38 +0000 (18:42 +0200)
commit135abb4d38a3a9eab3a7e6d6cde33aafd62488c2
treeaf72abfb7130cc9142cc5e651cdbfea1a4e81f04
parentbf4c4354fb3bdfdd4d33501318ba3bdd382469c8
Prevent call_sv() in vmg_svt_free() to clobber the last popped context slot

This caused havoc when dieing in eval at compile time because call_sv() was overwriting this slot while there was still some live pointers to it up in the call stack.
Magic.xs
t/17-ctl.t