Skip Menu |
 

This queue is for tickets about the Working-Daemon CPAN distribution.

Report information
The Basics
Id: 54104
Status: new
Priority: 0/
Queue: Working-Daemon

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

Bug Information
Severity: Normal
Broken in: 0.31
Fixed in: (no value)



Subject: ruid and euid set in wrong order
Download (untitled) / with headers
text/plain 385b
I believe that these lines in drop_privs(): $< = $self->uid; $> = $self->uid; are in the wrong order. When done this way around, the result is that the taint flag (${^TAINT}) gets set, which if intentional, should at least be documented here. Setting the ruid and euid the other way around avoids turning on taint mode. Alternatively, use POSIX::setuid as perlvar suggests.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.