Skip to content

Commit

Permalink
updater: ignore Debian's "temp" vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin-M authored and jzelinskie committed Feb 24, 2016
1 parent 77387af commit 7e72eb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions updater/fetchers/debian/debian.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 7e72eb1

Please sign in to comment.