Small patch to supress an annoying taint warning
And btw, this isn't safe at all, isn't it? It's just bypassing the
taint checking... Should it be fixed or what?
--
Philippe M. Chiasson <[EMAIL PROTECTED]>
Extropia's Resident System Guru
http://www.eXtropia.com/
When you rewrite a compiler from scratch, you sometimes fix
things you didn't know were broken.
-- Larry Wall
perl -e '$$=\${gozer};{$_=unpack(P26,pack(L,$$));/^Just Another Perl
Hacker!\n$/&&print||$$++&&redo}'
Index: Apache-Test/lib/Apache/TestConfigParse.pm
===================================================================
RCS file:
/home/anoncvs/httpd-test-cvs/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm,v
retrieving revision 1.9
diff -u -I'$Id' -I'$Revision' -r1.9 TestConfigParse.pm
--- Apache-Test/lib/Apache/TestConfigParse.pm 2001/09/06 21:10:03 1.9
+++ Apache-Test/lib/Apache/TestConfigParse.pm 2001/09/08 08:05:35
@@ -222,6 +222,7 @@
my $cmd = "$httpd -v";
# untaint
local $ENV{PATH};
+ local $ENV{BASH_ENV};
open my $v, '-|', $cmd or die "$cmd failed: $!";
local $_;
PGP signature