summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorStefan Fritsch <sf@sfritsch.de>2006-11-22 22:42:18 +0000
committerStefan Fritsch <sf@sfritsch.de>2006-11-22 22:42:18 +0000
commit89d022804317f0205e9415f87b1e85143aa68a0d (patch)
tree746bfc173fd8178334a22e03f8c4e7d0d27fbf43 /bin
parent7f38c5d79a46371c0a693bdabaf9ad9fbb019ca4 (diff)
- 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 git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5001 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update3
-rwxr-xr-xbin/updatelist4
2 files changed, 4 insertions, 3 deletions
diff --git a/bin/update b/bin/update
index a17335cc39..02bcf032a6 100755
--- a/bin/update
+++ b/bin/update
@@ -8,6 +8,7 @@ fi
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
diff --git a/bin/updatelist b/bin/updatelist
index 27550ca504..e6891f037d 100755
--- a/bin/updatelist
+++ b/bin/updatelist
@@ -81,7 +81,7 @@ sub docve {
}
}
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 @@ foreach my $cve (reverse sort { $cves{$a}{cve} cmp $cves{$b}{cve} } keys %cves)
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";
}
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy