diff options
author | David Mitchell <davem@iabyn.com> | 2010-10-30 20:15:18 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2010-10-30 20:15:18 +0100 |
commit | 4d198de3bd065d87fc1d40626801a0ab4bb997b9 (patch) | |
tree | f6f1e4255d5dc262218d4203d1da6b52514f0dd6 /pp_hot.c | |
parent | 6829f5e2f12086d827b73097d3d0c7a306c68f16 (diff) | |
download | perl-4d198de3bd065d87fc1d40626801a0ab4bb997b9.tar.gz |
RT #63790: &{PL_sv_yes} corrupted mark stack
Calling a subref whose value was PL_sv_yes, and without args,
failed to pop an entry off the mark stack
Diffstat (limited to 'pp_hot.c')
-rw-r--r-- | pp_hot.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2764,6 +2764,8 @@ PP(pp_entersub) if (sv == &PL_sv_yes) { /* unfound import, ignore */ if (hasargs) SP = PL_stack_base + POPMARK; + else + (void)POPMARK; RETURN; } SvGETMAGIC(sv); |