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 32bf25f commit a850130Copy full SHA for a850130
1 file changed
vulnerabilities/importers/gentoo.py
@@ -104,11 +104,15 @@ def affected_and_safe_purls(affected_elem):
104
safe_versions, affected_versions = GentooImporter.get_safe_and_affected_versions(pkg)
105
106
for version in safe_versions:
107
+ # version can have a slot, which we don't support in univers
108
+ version = version.split(":")[0]
109
constraints.append(
110
VersionConstraint(version=GentooVersion(version), comparator="=").invert()
111
)
112
113
for version in affected_versions:
114
115
116
117
VersionConstraint(version=GentooVersion(version), comparator="=")
118
0 commit comments