Proposed fix for -T -d:NYTProf regression. Probably this is a "missing"
authorNicholas Clark <nick@ccl4.org>
Sun, 30 Nov 2008 17:17:37 +0000 (17:17 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 30 Nov 2008 17:17:37 +0000 (17:17 +0000)
part of change 24943.

p4raw-id: //depot/perl@34954

scope.c

diff --git a/scope.c b/scope.c
index 24c5111..c0a8ba7 100644 (file)
--- a/scope.c
+++ b/scope.c
@@ -698,6 +698,8 @@ Perl_leave_scope(pTHX_ I32 base)
     register char* str;
     I32 i;
 
     register char* str;
     I32 i;
 
+    TAINT_NOT;
+
     if (base < -1)
        Perl_croak(aTHX_ "panic: corrupt saved stack index");
     while (PL_savestack_ix > base) {
     if (base < -1)
        Perl_croak(aTHX_ "panic: corrupt saved stack index");
     while (PL_savestack_ix > base) {