[meta-virtualization][PATCH] go-logrus: correct CVE_PRODUCT mapping

"Devansh Patel -X (devanshp - E INFOCHIPS PRIVATE LIMITED at Cisco)" <[email protected]>
Newsgroups org.yoctoproject.lists.meta-virtualization
Message-ID <[email protected]>
From: Devansh Patel <[email protected]>

The default "go-logrus" product does not match the packaged Logrus identity in NVD, so its CVE records are not associated with the recipe.

Use "turbopuffer:logrus", the exact NVD identity for the github.com/sirupsen/logrus source.

Signed-off-by: Devansh Patel <[email protected]>
---
 recipes-devtools/go/go-logrus_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-devtools/go/go-logrus_git.bb b/recipes-devtools/go/go-logrus_git.bb
index 7b9e31a5..4f8a255e 100644
--- a/recipes-devtools/go/go-logrus_git.bb
+++ b/recipes-devtools/go/go-logrus_git.bb
@@ -12,6 +12,8 @@ SRC_URI = "git://${PKG_NAME};branch=master;protocol=https"
 SRCREV = "a29884b9be3dc22c18338c0fe5a51d23e69731e4"
 PV = "1.9.4+git"
 
+CVE_PRODUCT = "turbopuffer:logrus"
+
 inherit meta-virt-depreciated-warning
 
 do_install() {
-- 
2.35.6
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.