From: André Draszik Date: Fri, 4 Nov 2016 11:06:31 +0000 (+0000) Subject: cve-check.bbclass: CVE-2014-2524 / readline v5.2 X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~23618 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b881a288eec598002685f68da80a24e0478fa496;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git cve-check.bbclass: CVE-2014-2524 / readline v5.2 Contrary to the CVE report, the vulnerable trace functions don't exist in readline v5.2 (which we keep for GPLv2+ purposes), they were added in readline v6.0 only - let's whitelist that CVE in order to avoid false positives. See also the discussion in https://patchwork.openembedded.org/patch/81765/ Signed-off-by: André Draszik Reviewed-by: Lukasz Nowak Signed-off-by: Ross Burton --- diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index 1425a405542..b0febfb2e50 100644 --- a/meta/classes/cve-check.bbclass +++ b/meta/classes/cve-check.bbclass @@ -39,7 +39,7 @@ CVE_CHECK_PN_WHITELIST = "\ # Whitelist for CVE and version of package CVE_CHECK_CVE_WHITELIST = "{\ - 'CVE-2014-2524': ('6.3',), \ + 'CVE-2014-2524': ('6.3','5.2',), \ }" python do_cve_check () {