From d9b4e14d9da22b4c73264addf9d748d80a1b80f9 Mon Sep 17 00:00:00 2001 From: dann frazier Date: Wed, 6 Jun 2007 23:40:37 +0000 Subject: link to the cve at mitre git-svn-id: svn+ssh://svn.debian.org/svn/kernel-sec@848 e094ebfe-e918-0410-adfb-c712417f3574 --- scripts/html-report | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/html-report b/scripts/html-report index 76bda1b2..4fb0a075 100755 --- a/scripts/html-report +++ b/scripts/html-report @@ -133,12 +133,17 @@ def statusCell(status): def populateTable(matrix): issues = matrix.keys() issues.sort() - + + cvere = re.compile('^CVE-\d\d\d\d\-\d\d\d\d') for i in issues: + if cvere.match(i): + issueref = ''+i+'' + else: + issueref = i versions = matrix[i].keys() versions.sort() sys.stdout.write(' \n') - sys.stdout.write(' ' + i + '\n') + sys.stdout.write(' ' + issueref + '\n') for v in versions: cell = statusCell(matrix[i][v].strip()) if cell: -- cgit v1.2.3