diff options
-rw-r--r-- | meta/classes/cve-check.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index 5191d04303..086d87687f 100644 --- a/meta/classes/cve-check.bbclass +++ b/meta/classes/cve-check.bbclass | |||
@@ -375,6 +375,7 @@ def check_cves(d, patched_cves): | |||
375 | try: | 375 | try: |
376 | vulnerable_start = (operator_start == '>=' and Version(pv,suffix) >= Version(version_start,suffix)) | 376 | vulnerable_start = (operator_start == '>=' and Version(pv,suffix) >= Version(version_start,suffix)) |
377 | vulnerable_start |= (operator_start == '>' and Version(pv,suffix) > Version(version_start,suffix)) | 377 | vulnerable_start |= (operator_start == '>' and Version(pv,suffix) > Version(version_start,suffix)) |
378 | vulnerable_start |= (operator_start == '=' and Version(pv,suffix) == Version(version_start,suffix)) | ||
378 | except: | 379 | except: |
379 | bb.warn("%s: Failed to compare %s %s %s for %s" % | 380 | bb.warn("%s: Failed to compare %s %s %s for %s" % |
380 | (product, pv, operator_start, version_start, cve)) | 381 | (product, pv, operator_start, version_start, cve)) |