]> code.ossystems Code Review - openembedded-core.git/commit
cve-check.bbclass: make warning contain CVE IDs
authorChen Qi <Qi.Chen@windriver.com>
Tue, 9 May 2017 09:31:36 +0000 (17:31 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 May 2017 13:01:37 +0000 (14:01 +0100)
commitad46069e7b58f2fba373131716f28407816fa1a6
treeae642a5cf4f433688610c180b2a5b4ed1ce91c74
parent50ed224ebc8d88a900febdc78013fa0c791d71cf
cve-check.bbclass: make warning contain CVE IDs

When warning users about unpatched CVE, we'd better put CVE IDs into
the warning message, so that it would be more straight forward for the
user to know which CVEs are not patched.

So instead of:
  WARNING: gnutls-3.5.9-r0 do_cve_check: Found unpatched CVE, for more information check /path/to/workdir/cve/cve.log.
We should have:
  WARNING: gnutls-3.5.9-r0 do_cve_check: Found unpatched CVE (CVE-2017-7869), for more information check /path/to/workdir/cve/cve.log.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/cve-check.bbclass