commit | 4939670e031221c2130e9c777b87b0560acd6dd1 | [log] [tgz] |
---|---|---|
author | Tatiana Bradley <tatiana@golang.org> | Tue May 17 16:02:52 2022 -0400 |
committer | Tatiana Bradley <tatiana@golang.org> | Thu May 19 14:54:21 2022 +0000 |
tree | 618107cc0fb4ae07b68110f037db4020bd14a292 | |
parent | bb2e302b7e96a7a2d8b79edcf2fa655e26b2f92e [diff] |
x/vulndb: add tests for all top-level lint errors Adds tests (and makes minor behavior fixes) for all lint errors emitted directly by the Lint function. Behavior fixes: - getModVersions and getCanonicalModName now check status of http.Get call - lint check on CVE metadata now only checks for malformed ID if no ID is present For #52945 Change-Id: Idd291d86beda8691dd7b8404c783364e839109fb Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/406197 Run-TryBot: Tatiana Bradley <tatiana@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com>
This repository contains the reports for the Go Vulnerability Database.
If you are interested accessing data from the Go Vulnerability Database, see x/vuln for information. This repository is only used for adding new vulnerabilities.
We are not accepting new vulnerability reports at this time. We will update this README.md once we are ready to receive reports.
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 x/vuln for information on how to access these entries.