Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Log-Dispatch CPAN distribution.

Report information
The Basics
Id: 40042
Status: resolved
Priority: 0/
Queue: Log-Dispatch

People
Owner: Nobody in particular
Requestors: hemingway [...] cpan.org
Cc: neil.hemingway [...] netbanx.com
AdminCc:

Bug Information
Severity: Critical
Broken in: 2.21
Fixed in: 2.22



CC: neil.hemingway [...] netbanx.com
Subject: Insecure dependency under taint in Log::Dispatch::Email
When using Log::Dispatch::Email under taint mode, the following error is generated: Insecure dependency in eval_sv() while running with -T switch at /export/home/netbanx/base/usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Email.pm line 37. The attached patch is a (very) simplistic fix for this.
Subject: log_dispatch_email.patch
Index: ../base/usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Email.pm =================================================================== --- ../base/usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Email.pm (revision 73) +++ ../base/usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Email.pm (working copy) @@ -12,6 +12,7 @@ our $VERSION = '1.19'; +my ($progname) = ($0 =~ /(.*)/); sub new { @@ -19,7 +20,7 @@ my $class = ref $proto || $proto; my %p = validate( @_, { subject => { type => SCALAR, - default => "$0: log email" }, + default => "$progname: log email" }, to => { type => SCALAR | ARRAYREF }, from => { type => SCALAR, optional => 1 },