This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #35878] goto &xsub that croaks corrupts memory
authorDave Mitchell <davem@fdisolutions.com>
Sat, 21 May 2005 22:10:19 +0000 (22:10 +0000)
committerDave Mitchell <davem@fdisolutions.com>
Sat, 21 May 2005 22:10:19 +0000 (22:10 +0000)
commit5eff7df71d0d0bb7c87e225c00e2091ae2433cb9
tree0bb0b3bd9078269ebea26f546fa5b74647f739cd
parent2d43a17f6a49532750d0e6ce2814b523e2f19999
[perl #35878] goto &xsub that croaks corrupts memory
When an XS sub is called, a CxSUB context shouldn't be pushed. Make
goto &xs_sub mimic this behaviour by first popping the old CxSUB

p4raw-id: //depot/perl@24535
pp_ctl.c
t/op/goto_xs.t