We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7778009 commit 23fb8f5Copy full SHA for 23fb8f5
1 file changed
vulntotal/datasources/safetydb.py
@@ -75,7 +75,7 @@ def parse_advisory(response, purl: PackageURL) -> Iterable[VendorData]:
75
VendorData instance containing the advisory information for the package.
76
"""
77
78
- for advisory in response.get(purl.name):
+ for advisory in response.get(purl.name, []):
79
yield VendorData(
80
purl=PackageURL(purl.type, purl.namespace, purl.name),
81
aliases=[advisory.get("cve"), advisory.get("id")],
0 commit comments