Message ID | 20250823201512.33478-1-peter.marko@siemens.com |
---|---|
State | New |
Headers | show |
Series | cve-update-db-native: fix fetcher for CVEs missing nodes | expand |
diff --git a/meta/recipes-core/meta/cve-update-db-native.bb b/meta/recipes-core/meta/cve-update-db-native.bb index 86cd1a1a21..dff5cd1c61 100644 --- a/meta/recipes-core/meta/cve-update-db-native.bb +++ b/meta/recipes-core/meta/cve-update-db-native.bb @@ -390,7 +390,7 @@ def update_db_fkie(conn, jsondata): for config in elt['configurations']: # This is suboptimal as it doesn't handle AND/OR and negate, but is better than nothing - for node in config["nodes"]: + for node in config.get("nodes") or []: parse_node_and_insert(conn, node, cveId, False) def update_db(d, conn, jsondata):