From 6ade2d35dc8c339a3e8d6ee685819d2a68e20edd Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Thu, 29 Mar 2012 14:52:45 -0700 Subject: [PATCH] Make -t BAREWORD extend the stack It appears always to have been this way. It was writing past the end of the stack. --- pp_sys.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pp_sys.c b/pp_sys.c index 9753763..14aa324 100644 --- a/pp_sys.c +++ b/pp_sys.c @@ -3277,6 +3277,7 @@ PP(pp_fttty) tryAMAGICftest_MG('t'); if (PL_op->op_flags & OPf_REF) + EXTEND(SP,1), gv = cGVOP_gv; else { SV *tmpsv = TOPs; -- 2.7.4