diff options
author | dann frazier <dannf@debian.org> | 2007-06-06 23:40:37 +0000 |
---|---|---|
committer | dann frazier <dannf@debian.org> | 2007-06-06 23:40:37 +0000 |
commit | d9b4e14d9da22b4c73264addf9d748d80a1b80f9 (patch) | |
tree | 05c02e8d358d9f5b2b818d998c9ab9f111deb8e2 /scripts | |
parent | 69b752cd8d45e4ec4823783a6e6df7800c9a9880 (diff) |
link to the cve at mitre
git-svn-id: svn+ssh://svn.debian.org/svn/kernel-sec@848 e094ebfe-e918-0410-adfb-c712417f3574
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/html-report | 9 |
1 files changed, 7 insertions, 2 deletions
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 = '<a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name='+i+'">'+i+'</a>' + else: + issueref = i versions = matrix[i].keys() versions.sort() sys.stdout.write(' <tr>\n') - sys.stdout.write(' <td>' + i + '</td>\n') + sys.stdout.write(' <td>' + issueref + '</td>\n') for v in versions: cell = statusCell(matrix[i][v].strip()) if cell: |