On Mon, 2018-10-29 at 15:46 +0000, akuster808 wrote: > On 10/29/18 3:13 PM, grygorii tertychnyi via Openembedded-core wrote: > > There are both "curl" and "libcurl" CPEs in NVD. > > All "curl" CVEs are now missed in the reports. > > > > Hence, switch "CVE_PRODUCT" to a space separated list. > > It is useful for recipes generating several packages, > > that have different product names in NVD. > > > > Signed-off-by: grygorii tertychnyi <gtert...@cisco.com> > > --- > > meta/classes/cve-check.bbclass | 3 ++- > > meta/recipes-support/curl/curl_7.61.0.bb | 2 +- > > 2 files changed, 3 insertions(+), 2 deletions(-) > > > > diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve- > > check.bbclass > > index 12ad3e5c5c..743bc08a4f 100644 > > --- a/meta/classes/cve-check.bbclass > > +++ b/meta/classes/cve-check.bbclass > > @@ -190,7 +190,8 @@ def check_cves(d, patched_cves): > > # Write the faux CSV file to be used with cve-check-tool > > fd, faux = tempfile.mkstemp(prefix="cve-faux-") > > with os.fdopen(fd, "w") as f: > > - f.write("%s,%s,%s," % (bpn, pv, cves)) > > + for pn in bpn.split(): > > + f.write("%s,%s,%s,\n" % (pn, pv, cves)) > > cmd.append(faux) > > > Please split this patch into two parts. the appear to be > independent.
Since we need to get 2.6 built I've split this up. Cheers, Richard -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core