The recipe contains two CVE_CHECK_IGNORE declarations, and the second
one overwrites the first one - however the first one is also important.

Instead of overwriting it, just append them to each other. Also, move the
operations closer to each other, so it's easier to see what's going on.

Signed-off-by: Gyorgy Sarvari <[email protected]>
---
 meta-networking/recipes-protocols/openflow/openflow.inc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta-networking/recipes-protocols/openflow/openflow.inc 
b/meta-networking/recipes-protocols/openflow/openflow.inc
index 3c29a5c8cf..2134b57713 100644
--- a/meta-networking/recipes-protocols/openflow/openflow.inc
+++ b/meta-networking/recipes-protocols/openflow/openflow.inc
@@ -18,6 +18,10 @@ CVE_CHECK_IGNORE = "\
     CVE-2015-1612 \
 "
 
+# This CVE is not for this product but cve-check assumes it is
+# because two CPE collides when checking the NVD database
+CVE_CHECK_IGNORE += "CVE-2018-1078"
+
 DEPENDS = "virtual/libc"
 
 PACKAGECONFIG ??= ""
@@ -58,7 +62,3 @@ do_install:append() {
 }
 
 FILES:${PN} += "${nonarch_libdir}/tmpfiles.d"
-
-# This CVE is not for this product but cve-check assumes it is
-# because two CPE collides when checking the NVD database
-CVE_CHECK_IGNORE = "CVE-2018-1078"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#123249): 
https://lists.openembedded.org/g/openembedded-devel/message/123249
Mute This Topic: https://lists.openembedded.org/mt/117149086/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to