[Secure-testing-commits] r5001 - bin

Stefan Fritsch stef-guest at alioth.debian.org
Wed Nov 22 23:42:18 CET 2006


Author: stef-guest
Date: 2006-11-22 23:42:18 +0100 (Wed, 22 Nov 2006)
New Revision: 5001

Modified:
   bin/update
   bin/updatelist
Log:
- bugfix: we need to add "TODO: check" even if the CVE was know from a DSA before appearing at mitre
- use gzipped version of allitems.html to save bandwidth


Modified: bin/update
===================================================================
--- bin/update	2006-11-22 22:24:47 UTC (rev 5000)
+++ bin/update	2006-11-22 22:42:18 UTC (rev 5001)
@@ -8,6 +8,7 @@
 
 cd CVE
 rm -f allitems.html
-wget --quiet http://www.cve.mitre.org/cve/downloads/allitems.html
+wget --quiet http://www.cve.mitre.org/cve/downloads/allitems.html.gz
+gunzip allitems.html.gz
 ../../bin/updatelist allitems.html ../DSA/list ../DTSA/list list > list.new
 mv -f list.new list

Modified: bin/updatelist
===================================================================
--- bin/updatelist	2006-11-22 22:24:47 UTC (rev 5000)
+++ bin/updatelist	2006-11-22 22:42:18 UTC (rev 5001)
@@ -81,7 +81,7 @@
 		}
 	}
 	if (! $cves{$cve}{reserved} && ! $cves{$cve}{rejected} &&
-	    ! $cves{$cve}{dsa} && ! $cves{$cve}{notes} &&
+	    ! $cves{$cve}{notes} &&
 	    ! $stopped) {
 		push @out, "\tTODO: check\n";
 	}
@@ -142,7 +142,7 @@
 	if ($cves{$cve}{dsa}) {
 		print "\t{".join(" ", @{$cves{$cve}{dsa}})."}\n";
 	}
-	if (!$cves{$cve}{reserved} || $cves{$cve}{rejected} || $cves{$cve}{dsa}) {
+	if (!$cves{$cve}{reserved} || $cves{$cve}{rejected} ) {
 		print "\tTODO: check\n";
 	}
 }




More information about the Secure-testing-commits mailing list