Skip to contentSkip to conversation

scripts: contrib: Fix reserved typo in imporve_kernel_cve_report script

PATCH New Markus Swarowsky 1 participant 1 message Jul 25

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts: contrib: Fix reserved typo in imporve_kernel_cve_report script

In the filter function for the linux cves it checked for reverved but I suspect it should be reserved.

---
 scripts/contrib/improve_kernel_cve_report.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/contrib/improve_kernel_cve_report.py +1 -1
index b386c9383a..018cff3b65 100755
@@ -82,7 +82,7 @@ def get_kernel_cves(datadir, compiled_files, version):
                 "description": f"Rejected by CNA"
             }
             continue
-        if any(elem in cve_file for elem in ["review", "reverved", "testing"]):
+        if any(elem in cve_file for elem in ["review", "reserved", "testing"]):
             continue
 
         is_vulnerable, first_affected, last_affected, better_match_first, better_match_last, affected_versions = get_cpe_applicability(cve_info, version)
Signature · 1 line
2.55.0