summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-11-30 19:18:33 +0000
committerNicholas Clark <nick@ccl4.org>2008-11-30 19:18:33 +0000
commitc6ae76470e6575530141df6c32cf71111bc2e391 (patch)
treeb4c6c6ec9a28c4801d5d26317ee0c68a47c87c52 /scope.c
parent13d4578c5c4d6d1ff771e38874408fea77a13d75 (diff)
downloadperl-c6ae76470e6575530141df6c32cf71111bc2e391.tar.gz
This feels like a more robust location than that of change 34954.
p4raw-id: //depot/perl@34955
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scope.c b/scope.c
index c0a8ba774f..88fb53aac5 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);