updater: ignore Debian's "temp" vulnerabilities

This commit is contained in:
Quentin Machu 2016-01-14 15:58:33 -05:00 committed by Jimmy Zelinskie
parent 77387af2ac
commit 7e72eb10b6

View File

@ -143,8 +143,8 @@ func parseDebianJSON(data *jsonData) (vulnerabilities []database.Vulnerability,
continue
}
// Skip if the status is not determined.
if releaseNode.Status == "undetermined" {
// Skip if the status is not determined or the vulnerability is a temporary one.
if !strings.HasPrefix(vulnName, "CVE-") || releaseNode.Status == "undetermined" {
continue
}