diff options
author | Chip Salzenberg <chip@pobox.com> | 1999-04-13 04:14:22 +0000 |
---|---|---|
committer | Todd Rinaldo <toddr@cpanel.net> | 2019-10-19 07:03:08 -0500 |
commit | 623e03c8bcaa690c6618cc3486c527aab0c40611 (patch) | |
tree | abaa226301753396054ae2af34b5f6a7414eb648 | |
parent | da8e539c8c4a3148fdfeb75f2aa33fd74759e883 (diff) | |
download | perl-623e03c8bcaa690c6618cc3486c527aab0c40611.tar.gz |
Properly handle tainted operations when -U is set.
p4raw-id: //depot/maint-5.004/perl@3234
-rw-r--r-- | doio.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1126,7 +1126,7 @@ register SV **sp; SV **oldmark = mark; #define APPLY_TAINT_PROPER() \ - if (!(tainting && tainted)) {} else { goto taint_proper_label; } + if (!tainted) {} else { TAINT_PROPER(what); } /* This is a first heuristic; it doesn't catch tainting magic. */ if (tainting) { @@ -1306,10 +1306,6 @@ register SV **sp; } return tot; - taint_proper_label: - TAINT_PROPER(what); - return 0; /* this should never happen */ - #undef APPLY_TAINT_PROPER } |