Markus Wichitill wrote:
Stas Bekman wrote:

Markus Wichitill wrote:

t/apr-ext/finfo and t/apr-ext/perlio fail with taint issues on today's SVN, when run alone or as part of the whole test suite:

$ perl t/TEST -v t/apr-ext/finfo t/apr-ext/perlio
[...]
t/apr-ext/finfo.....Insecure dependency in require while running with -T


I know. It's a buggy Cwd. You need at least 2.06. I'll commit a requirement for Cwd: '2.06' in Apache-Test. Please confirm that it fixes the problem (it did for me).


I have 3.01, which comes with Perl 5.8.6 and is also the current version in the PathTools distribution on CPAN.

Bizarre, I had this problem with 5.6.1 and traced it to Cwd. Upgrading took the problem away.


Please apply

Index: t/apr-ext/finfo.t
===================================================================
--- t/apr-ext/finfo.t   (revision 109799)
+++ t/apr-ext/finfo.t   (working copy)
@@ -1,5 +1,10 @@
 #!perl -T

+BEGIN {
+    use Carp;
+    $SIG{__DIE__} = \&Carp::confess;
+}
+
 use strict;
 use warnings FATAL => 'all';
 use Apache::Test;

and run the tests again to find the guilty module for finfo

I see that the second test reports the problem more detailed:

  Insecure dependency in mkdir while running with -T switch at
    /usr/local/perl/lib/File/Path.pm line 159. dubious

that sucks, but still apply the same thing (or simply put it in t/TEST once)

and let's see the whole trace.

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