From c6ae76470e6575530141df6c32cf71111bc2e391 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Sun, 30 Nov 2008 19:18:33 +0000 Subject: [PATCH] This feels like a more robust location than that of change 34954. p4raw-id: //depot/perl@34955 --- scope.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scope.c b/scope.c index c0a8ba7..88fb53a 100644 --- a/scope.c +++ b/scope.c @@ -698,11 +698,11 @@ Perl_leave_scope(pTHX_ I32 base) register char* str; I32 i; - TAINT_NOT; - if (base < -1) Perl_croak(aTHX_ "panic: corrupt saved stack index"); while (PL_savestack_ix > base) { + TAINT_NOT; + switch (SSPOPINT) { case SAVEt_ITEM: /* normal string */ value = MUTABLE_SV(SSPOPPTR); -- 2.7.4