commit | b18162ef057d329b5596e08df149da035fe51fb0 | [log] [tgz] |
---|---|---|
author | Zvonimir Pavlinovic <zpavlinovic@google.com> | Fri Jan 06 07:03:47 2023 -0800 |
committer | Zvonimir Pavlinovic <zpavlinovic@google.com> | Fri Jan 06 15:25:28 2023 +0000 |
tree | 62cada4e12bb2a8c4cad1ef7480347bd03006c6b | |
parent | ebf31f7dc3ef1da77fcf563ee9becce538d33890 [diff] |
cmd/govulncheck: fix bug in platforms row when printing results When there are specific OSs for a vuln but no architecure, and vice versa, we would not printing anything in the platforms row. This CL fixes that issue. In such cases, we just list the OSs, or archs in vice versa case. An alternative was to print something like "windows/*", but that seemed confusing. Having a row like "Platforms: windows" seams clear to the user. Change-Id: I41b9865353571b8d225d198ba172a566fa992852 Reviewed-on: https://go-review.googlesource.com/c/vuln/+/460423 Reviewed-by: Julie Qiu <julieqiu@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com>
This repository contains packages for accessing and analyzing data from the Go Vulnerability Database. It contains the following:
Check out https://go.dev/security/vuln for more information about the Go vulnerability management system.
The privacy policy for govulncheck
can be found at https://vuln.go.dev/privacy.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Database entries available at https://vuln.go.dev are distributed under the terms of the CC-BY 4.0 license.