bplatz has asked for the wisdom of the Perl Monks concerning the following question:
Under Perl 5.8.0, I encounter insecure dependency error for PerlIO.pm with the following script when executed under Solaris with the real uid != effected uid:
#!/bin/perl use XML::SAX::Pipeline; use XML::Filter::BufferText; my $filter = XML::Filter::BufferText->new(); my $machine = XML::SAX::Pipeline->new($filter); $machine->parse_file(\*STDIN);
Error Message:
Insecure dependency in eval while running setuid at /opt/perl58/lib/5. +8.0/PerlIO.pm line 22. BEGIN failed--compilation aborted.
Other than using perl's -U option, I cannot figure out how to get around this problem. It appears that the root of the problem is with PerlIO.pm's use of a tainted variable inside a "require" statement, at line 22. This problem seems to exist with the latest version of Perl 5.8 as well (I downloaded and unpacked it, just to see if there was a difference, and there isn't).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl 5.8.0 PerlIO insecure dependency
by tachyon (Chancellor) on Apr 13, 2004 at 01:09 UTC | |
by PodMaster (Abbot) on Apr 13, 2004 at 02:12 UTC | |
by tachyon (Chancellor) on Apr 13, 2004 at 02:38 UTC | |
by PodMaster (Abbot) on Apr 13, 2004 at 04:05 UTC | |
by tachyon (Chancellor) on Apr 13, 2004 at 04:17 UTC | |
| |
by bplatz (Initiate) on Apr 13, 2004 at 01:29 UTC |