diff options
author | Gisle Aas <gisle@activestate.com> | 2006-03-20 10:44:08 +0000 |
---|---|---|
committer | Gisle Aas <gisle@activestate.com> | 2006-03-20 10:44:08 +0000 |
commit | 6f998dadd365dcf88776abd404d1a47b068400ff (patch) | |
tree | 0294b8931f4f310530fff741e26bcba9d10aa486 | |
parent | 908fcb8bef8cbab8cfe098520d89599eb7d1a16c (diff) | |
download | perl-6f998dadd365dcf88776abd404d1a47b068400ff.tar.gz |
Also strip $ENV{PATH} dirs writable by world.
The stripping was introduced in change 27364 to improve taint handling.
p4raw-id: //depot/perl@27550
-rw-r--r-- | t/test.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -506,7 +506,7 @@ sub runperl { $ENV{PATH} =~ /(.*)/s; local $ENV{PATH} = join $sep, grep { $_ ne "" and $_ ne "." and - ($is_mswin or !((stat$_)[2]&0020)) } + ($is_mswin or !((stat$_)[2]&0022)) } split quotemeta ($sep), $1; $runperl =~ /(.*)/s; |