Stas Bekman wrote:
> Ken Williams wrote:
...
> Ken, CWD.pm, has always suffered from taint problems. This problem has 
> been fixed in the bleadperl, try this patch:
> 
> --- /tmp/Cwd.pm    Sun Apr 28 11:44:38 2002
> +++ /home/stas/perl.org/perl-5.6.1/lib/Cwd.pm    Fri Sep 14 17:09:10 2001
> @@ -89,7 +89,6 @@
>  # The 'natural and safe form' for UNIX (pwd may be setuid root)
> 
>  sub _backtick_pwd {
> -    local @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};

oops, s/^-/+/ here

>      my $cwd = `pwd`;
>      # `pwd` may fail e.g. if the disk is full
>      chomp($cwd) if defined $cwd;
> 
> and if it works for you consider submitting it to Sarathy for 5.6.2.
> 
> __________________________________________________________________
> Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
> http://stason.org/     mod_perl Guide ---> http://perl.apache.org
> mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org   http://ticketmaster.com
> 



-- 


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Reply via email to