in reply to forking question
What it means is that all strings from outside sources are viewed with suspicion because they might contain security attacks. Your $good_out and $bad_out filenames contain strings with $ENV{LOGNAME}, and that is the source of the taint. See perlsec for more details. How do you untaint? Here is an example:
Then you can interpolate $logname for your file names.my $logname = $ENV{LOGNAME}; $logname =~ m/(.*)/; $logname = quotemeta($logname);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: forking question
by cees (Curate) on Feb 20, 2003 at 20:42 UTC |