spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarti...@apache.org
Subject svn commit: r949419 - /spamassassin/branches/3.2/lib/Mail/SpamAssassin/DBBasedAddrList.pm
Date Sat, 29 May 2010 16:54:12 GMT
Author: mmartinec
Date: Sat May 29 16:54:12 2010
New Revision: 949419

URL: http://svn.apache.org/viewvc?rev=949419&view=rev
Log:
Bug 6415: Open of auto-whitelist file failed: Insecure dependency in eval

Modified:
    spamassassin/branches/3.2/lib/Mail/SpamAssassin/DBBasedAddrList.pm

Modified: spamassassin/branches/3.2/lib/Mail/SpamAssassin/DBBasedAddrList.pm
URL: http://svn.apache.org/viewvc/spamassassin/branches/3.2/lib/Mail/SpamAssassin/DBBasedAddrList.pm?rev=949419&r1=949418&r2=949419&view=diff
==============================================================================
--- spamassassin/branches/3.2/lib/Mail/SpamAssassin/DBBasedAddrList.pm (original)
+++ spamassassin/branches/3.2/lib/Mail/SpamAssassin/DBBasedAddrList.pm Sat May 29 16:54:12
2010
@@ -23,7 +23,7 @@ use bytes;
 use Fcntl;
 
 use Mail::SpamAssassin::PersistentAddrList;
-use Mail::SpamAssassin::Util;
+use Mail::SpamAssassin::Util qw(untaint_var);
 use Mail::SpamAssassin::Logger;
 
 use vars qw{
@@ -57,6 +57,7 @@ sub new_checker {
   };
 
   my @order = split (' ', $main->{conf}->{auto_whitelist_db_modules});
+  untaint_var(\@order);
   my $dbm_module = Mail::SpamAssassin::Util::first_available_module (@order);
   if (!$dbm_module) {
     die "auto-whitelist: cannot find a usable DB package from auto_whitelist_db_modules:
" .



Mime
View raw message