spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r481299 - /spamassassin/branches/3.1/sa-update.raw
Date Fri, 01 Dec 2006 17:05:41 GMT
Author: dos
Date: Fri Dec  1 09:05:41 2006
New Revision: 481299

URL: http://svn.apache.org/viewvc?view=rev&rev=481299
Log:
(trivial) avoid one last place where $1 might be randomly tainted (and cause a problem) in
sa-update

Modified:
    spamassassin/branches/3.1/sa-update.raw

Modified: spamassassin/branches/3.1/sa-update.raw
URL: http://svn.apache.org/viewvc/spamassassin/branches/3.1/sa-update.raw?view=diff&rev=481299&r1=481298&r2=481299
==============================================================================
--- spamassassin/branches/3.1/sa-update.raw (original)
+++ spamassassin/branches/3.1/sa-update.raw Fri Dec  1 09:05:41 2006
@@ -783,6 +783,7 @@
     die "fatal: can't access $UPDDir: $!\n";
   }
   while(my $file = readdir(DIR)) {
+    local ($1);	# avoid random taint flagging of $1
     $file =~ /^(.+)$/;       # untaint
     $file = $1;
     my $path = File::Spec->catfile($UPDDir, $file);



Mime
View raw message