This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Turn off 'expression tainted' flag at end of runops()
authorChip Salzenberg <chip@perl.com>
Tue, 18 Feb 1997 21:08:02 +0000 (09:08 +1200)
committerChip Salzenberg <chip@atlantic.net>
Fri, 21 Feb 1997 16:41:00 +0000 (04:41 +1200)
run.c

diff --git a/run.c b/run.c
index a952dac..0e0fd1c 100644 (file)
--- a/run.c
+++ b/run.c
@@ -27,6 +27,8 @@ runops() {
     runlevel++;
 
     while ( op = (*op->op_ppaddr)() ) ;
+
+    TAINT_NOT;
     return 0;
 }
 
@@ -54,6 +56,8 @@ runops() {
            DEBUG_P(debprof(op));
        }
     } while ( op = (*op->op_ppaddr)() );
+
+    TAINT_NOT;
     return 0;
 }