[v2] gcc: Add CVE-2021-37322 to the list of CVEs to ignore

Message ID 20211209001540.602804-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit fea2726663a3db03170c49fceaffc632c509aeea
Headers show
Series [v2] gcc: Add CVE-2021-37322 to the list of CVEs to ignore | expand

Commit Message

Richard Purdie Dec. 9, 2021, 12:15 a.m. UTC
The CVE applies to binutils 2.26 and not to gcc so ignore there.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-devtools/gcc/gcc-11.2.inc | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta/recipes-devtools/gcc/gcc-11.2.inc b/meta/recipes-devtools/gcc/gcc-11.2.inc
index 29007d1f19e..e49c4e0b372 100644
--- a/meta/recipes-devtools/gcc/gcc-11.2.inc
+++ b/meta/recipes-devtools/gcc/gcc-11.2.inc
@@ -111,3 +111,6 @@  EXTRA_OECONF_PATHS = "\
     --with-sysroot=/not/exist \
     --with-build-sysroot=${STAGING_DIR_TARGET} \
 "
+
+# Is a binutils 2.26 issue, not gcc
+CVE_CHECK_WHITELIST += "CVE-2021-37322"