New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perldoc causes taint violation when run as root in a directory with Build.PL or Makefile.PL #10132
Comments
From @piotoThis is a bug report for perl from pioto@pioto.org, When running perldoc as root, in a directory which has a cpan module's # perldoc Test::More This happens in a checkout for a some non-Test::More cpan module. Attempts to find a more minimal test case have so far come up short. Flags: Site configuration information for perl 5.10.1: Configured by Exherbo at Sat Jan 30 11:30:07 EST 2010. Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Locally applied patches: @INC for perl 5.10.1: Environment for perl 5.10.1: |
From p5p@spam.wizbit.be
There appear to be two problems: a) Insecure dependency in require while running with -T switch at .../ This is because the function 'maybe_diddle_INC' adds several search It then searches the @INC for the module but after the search it does This can be fixed with: --- a/dist/Pod-Perldoc/lib/Pod/Perldoc.pm + my @real_inc = @INC; b) Error while formatting with Pod::Perldoc::ToMan: Pod/Perldoc/ToMan executes the command: => $file is tainted I'm not sure what the best fix for this is... Best regards, Bram |
From [Unknown Contact. See original ticket]
There appear to be two problems: a) Insecure dependency in require while running with -T switch at .../ This is because the function 'maybe_diddle_INC' adds several search It then searches the @INC for the module but after the search it does This can be fixed with: --- a/dist/Pod-Perldoc/lib/Pod/Perldoc.pm + my @real_inc = @INC; b) Error while formatting with Pod::Perldoc::ToMan: Pod/Perldoc/ToMan executes the command: => $file is tainted I'm not sure what the best fix for this is... Best regards, Bram |
p5p@spam.wizbit.be - Status changed from 'new' to 'open' |
From @swillsThe fix in this ticket fixes at least the first issue, for me. This issue Thanks, |
From [Unknown Contact. See original ticket]The fix in this ticket fixes at least the first issue, for me. This issue Thanks, |
From @tonycozOn Thu Feb 04 15:54:08 2010, pioto wrote:
I don't see this problem in blead. [root@freebsd32 /home/tony/dev/imager/git/Imager]# ls Makefile.PL I suspect the changes in version 3.15_12 of Pod-Perldoc (see Tony |
@cpansprout - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#72550 (status was 'resolved')
Searchable as RT72550$
The text was updated successfully, but these errors were encountered: