@@ -343,18 +343,19 @@ def check_cves(d, cve_data):
for cverow in cve_cursor:
cve = cverow[0]
- if cve_is_ignored(d, cve_data, cve):
- bb.note("%s-%s ignores %s" % (product, pv, cve))
- continue
- elif cve_is_patched(d, cve_data, cve):
- bb.note("%s has been patched" % (cve))
- continue
# Write status once only for each product
if not cves_in_product:
cves_status.append([product, True])
cves_in_product = True
cves_in_recipe = True
+ if cve_is_ignored(d, cve_data, cve):
+ bb.note("%s-%s ignores %s" % (product, pv, cve))
+ continue
+ elif cve_is_patched(d, cve_data, cve):
+ bb.note("%s has been patched" % (cve))
+ continue
+
vulnerable = False
ignored = False