spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarti...@apache.org
Subject svn commit: r1495637 - /spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore.pm
Date Fri, 21 Jun 2013 23:38:19 GMT
Author: mmartinec
Date: Fri Jun 21 23:38:19 2013
New Revision: 1495637

URL: http://svn.apache.org/r1495637
Log:
Bug 6945 - fix a taint bug in dbg() call

Modified:
    spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore.pm?rev=1495637&r1=1495636&r2=1495637&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore.pm Fri Jun 21 23:38:19 2013
@@ -473,7 +473,7 @@ sub expiry_due {
     return 0 if ($last_expire < 300);
   }
 
-  dbg("bayes: DB expiry: tokens in DB: $ntoks, Expiry max size: ".$self->{expiry_max_db_size}.",
Oldest atime: ".$vars[5].", Newest atime: ".$vars[10].", Last expire: ".$vars[4].", Current
time: ".time(),'bayes','-1');
+  dbg("bayes: DB expiry: tokens in DB: $ntoks, Expiry max size: ".$self->{expiry_max_db_size}.",
Oldest atime: ".$vars[5].", Newest atime: ".$vars[10].", Last expire: ".$vars[4].", Current
time: ".time());
 
   my $conf = $self->{bayes}->{main}->{conf};
   if ($ntoks <= 100000 ||			# keep at least 100k tokens



Mime
View raw message