Skip to content

Commit

Permalink
adopted fix as suggested in cve-search/cve-seach#1106
Browse files Browse the repository at this point in the history
  • Loading branch information
P-T-I committed Jul 1, 2024
1 parent cf3d8d9 commit cb638fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CveXplore/core/database_maintenance/sources_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,8 @@ def process_the_item(self, item: dict = None):
cve["vulnerable_configuration_stems"] = []
cve["configurations"] = item["cve"]["configurations"]
for node in item["cve"]["configurations"]:
if "nodes" not in node:
continue
for cpe in node["nodes"]:
if "cpeMatch" in cpe:
for cpeuri in cpe["cpeMatch"]:
Expand Down

0 comments on commit cb638fe

Please sign in to comment.