Philippe M. Chiasson wrote:
[...]

Here is a revised patch that still works for me.
(http://svn.ectoplasm.org/gozer/opt/src/apache.org/mod_perl/2.0/patches/static-build.patch)

Looks good

Index: Apache-Test/lib/Apache/TestConfig.pm
===================================================================
[...]
     # untaint some %ENV fields
     local @ENV{ qw(PATH IFS CDPATH ENV BASH_ENV) };

+    $ENV{PATH} = '/bin:/usr/bin:/usr/local/bin';
     my $handle = Symbol::gensym();
     open $handle, "$cmd|" or die "$cmd failed: $!";

What do you need that for and why the hardcoded paths?

--
__________________________________________________________________
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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to