summaryrefslogtreecommitdiffstats
path: root/meta/classes/cve-check.bbclass
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2021-08-05 17:51:02 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-18 18:00:19 +0100
commit555a75484db5b818039f32c415a023ae055444b2 (patch)
tree9c45974eeeaaf88ccff2773cd23c96920e5e74a2 /meta/classes/cve-check.bbclass
parent7e830c8370746b0a0f8ecb8ff8aeceb91ebe3d0e (diff)
downloadpoky-555a75484db5b818039f32c415a023ae055444b2.tar.gz
cve-check: update link to NVD website for CVE details
The old URL schema https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-ID now redirects to https://nvd.nist.gov/vuln/detail/CVE-ID (From OE-Core rev: b2c21e0d7230583e4751a124c015534e5cd16490) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 57adb57a9d9b08c08ab606ec7b561792e4f4ff2d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cve-check.bbclass')
-rw-r--r--meta/classes/cve-check.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass
index 03aafc5a54..df6ebfd29d 100644
--- a/meta/classes/cve-check.bbclass
+++ b/meta/classes/cve-check.bbclass
@@ -355,7 +355,7 @@ def cve_write_data(d, patched, unpatched, whitelisted, cve_data):
355 if include_layers and layer not in include_layers: 355 if include_layers and layer not in include_layers:
356 return 356 return
357 357
358 nvd_link = "https://web.nvd.nist.gov/view/vuln/detail?vulnId=" 358 nvd_link = "https://nvd.nist.gov/vuln/detail/"
359 write_string = "" 359 write_string = ""
360 unpatched_cves = [] 360 unpatched_cves = []
361 bb.utils.mkdirhier(os.path.dirname(cve_file)) 361 bb.utils.mkdirhier(os.path.dirname(cve_file))