summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKees Cook <kees@outflux.net>2007-08-31 18:12:50 +0000
committerKees Cook <kees@outflux.net>2007-08-31 18:12:50 +0000
commit39588f474d96b694056e8bedf2b93b8b3d4c8e27 (patch)
tree429ac90a322187d8daa3a3a7198d02be79635a9d /scripts
parent1998e9b1cdebdf4bc58a2750132000b0720f2d1e (diff)
adjust ignore/release logic
git-svn-id: svn+ssh://svn.debian.org/svn/kernel-sec@936 e094ebfe-e918-0410-adfb-c712417f3574
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ubuntu-table9
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/ubuntu-table b/scripts/ubuntu-table
index 884e348a..116c499e 100755
--- a/scripts/ubuntu-table
+++ b/scripts/ubuntu-table
@@ -24,18 +24,21 @@ for rel in releases:
print
for cve in cves:
- ignore = 1
+ nodisplay = 1
+ ignored = 1
needed = 0
released = 0
for rel in releases:
if table[cve][rel] != 'N/A' and table[cve][rel] != 'released' and table[cve][rel] != '-unlisted-':
- ignore = 0
+ nodisplay = 0
+ if table[cve][rel] != 'ignored':
+ ignored = 0
if table[cve][rel] == 'needed' or table[cve][rel] == 'deferred':
needed = 1
if table[cve][rel] == 'released':
released = 1
- if not ignore:
+ if not nodisplay and not ignored:
print '%s: ' % cve,
for rel in releases:
print format % table[cve][rel],

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