Skip to contentSkip to conversation

nodejs: fix CVE_PRODUCT

PATCH New Gyorgy Sarvari 1 participant 1 message Dec 22, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nodejs: fix CVE_PRODUCT

The CVE_PRODUCT is set with a weak default assignment in the cve-check.bbclass, which means that when the recipe uses +=, it overrides the original weak adefault value instead of appending to it.

Set all applicable values in CVE_PRODUCT variable explicitly.

---
 meta-oe/recipes-devtools/nodejs/nodejs_16.20.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/nodejs/nodejs_16.20.2.bb +1 -1
index ca5deda99e..05a6706c10 100644
@@ -44,7 +44,7 @@ SRC_URI[sha256sum] = "576f1a03c455e491a8d132b587eb6b3b84651fc8974bb3638433dd44d2
 
 S = "${WORKDIR}/node-v${PV}"
 
-CVE_PRODUCT += "node.js"
+CVE_PRODUCT = "nodejs node.js"
 
 # v8 errors out if you have set CCACHE
 CCACHE = ""