commit | 0c44de67e81f1c6b5091cc4da646a78d676fd1b6 | [log] [tgz] |
---|---|---|
author | Tatiana Bradley <tatianabradley@google.com> | Tue Feb 06 13:57:48 2024 -0500 |
committer | Tatiana Bradley <tatianabradley@google.com> | Thu Feb 08 15:56:13 2024 +0000 |
tree | ea270bd1b92e00ac55768bb289c2c3a35d585621 | |
parent | 48391af3689b8b9fd0c4267afe9cbb96292b3713 [diff] |
internal/report: refactor fix to avoid nil pointer Split Fix into FixText (which doesn't require a proxy client) and FixVersions (which does), and only call the FixText portion from applySuggestion in vulnreport. This avoids a possible nil pointer dereference. Change-Id: Ic57cb0738ac64ce892e62c2e16c76efb25c22147 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/562245 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com>
This repository contains the infrastructure and internal reports to create the Go Vulnerability Database.
Check out https://go.dev/security/vuln for more information about the Go vulnerability management system.
Click here to report a public vulnerability in the Go ecosystem, or give feedback about the project.
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 are distributed under the terms of the CC-BY-4.0 license. See go.dev/security/vuln/database for information on how to access these entries.