fpeter has asked for the wisdom of the Perl Monks concerning the following question:
I am getting the error "Insecure dependency in `` while running with -T switch at xxxx.pl line 1674, <STDIN> line 5." when I run the script. The relevant lines are: "
sub compileOrc { my ($infile) = @_; my $outfile; my $cc_orc; my @res; $outfile = "$appfile.orc"; $cc_orc = "sudo $G::PAX_CC -c -i $infile -o $outfile 2>&1"; (@res) = `$cc_orc`; ==> This is the one giving the error. ... }
I have tried the following change with no change to the error:
"(@res) = map { /(\w+)/ } `$cc_orc`; # untaint"
Your help in solving this would be greatly appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Insecure dependency in `` while running with -T switch
by almut (Canon) on Jun 10, 2010 at 16:36 UTC | |
by fpeter (Initiate) on Jun 10, 2010 at 17:26 UTC | |
|
Re: Insecure dependency in `` while running with -T switch
by JavaFan (Canon) on Jun 10, 2010 at 16:50 UTC |