summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scope.c b/scope.c
index 24c51118b7..c0a8ba774f 100644
--- a/scope.c
+++ b/scope.c
@@ -698,6 +698,8 @@ 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) {