Skip Menu |

This queue is for tickets about the Test-Compile CPAN distribution.

Report information
The Basics
Id: 82887
Status: resolved
Priority: 0/
Queue: Test-Compile

People
Owner: Nobody in particular
Requestors: SAPER [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.22
Fixed in: 0.23



Subject: Incorrect handling of taint mode and search paths
Hello, I discovered two problems within Test::Compile. The first one is that it does not correctly handle the library search paths, and plays with PERL5IB instead of @INC. This is also incorrect in that it forces the paths in PERL5LIB even when in taint mode, although Perl is not supposed to use them, as documented in perlrun. » http://perldoc.perl.org/perlrun.html#ENVIRONMENT The second one is that the regular expression to detect the taint mode options (-t/-T) does not work with real world programs. Patches to fix both these bugs will follow. -- Close the world, txEn eht nepO.
Pull request with the corresponding patches on Git Hub: » https://github.com/egiles/test-compile/pull/1 -- Close the world, txEn eht nepO.