]> code.ossystems Code Review - openembedded-core.git/commit
cve-update: handle baseMetricV2 as optional
authorKonrad Weihmann <kweihmann@outlook.com>
Sun, 26 Jul 2020 14:10:06 +0000 (16:10 +0200)
committerSteve Sakoman <steve@sakoman.com>
Mon, 27 Jul 2020 22:23:03 +0000 (12:23 -1000)
commit135a6a4f55aed6148f45d01b307fadbd45be2997
tree3ca8f450573bfafd54d157d3b529928496cdc921
parenta10ff925584406e563edfb4042b44c3e8ea57ce3
cve-update: handle baseMetricV2 as optional

Currently in NVD DB an item popped up, which hasn't set baseMetricV2.
Let the parser handle it as an optional item.
In case use baseMetricV2 before baseMetricV3

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fdcbf3f28289188c5a97664d1421d4a5c4991eda)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/meta/cve-update-db-native.bb