Binutils: CVE-2021-42574
PATCH 1/1 Binutils: CVE-2021-42574
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=b3aa80b45c4f46029efeb204bb9f2d2c4278a0e5]
--- .../binutils/binutils-2.37.inc | 1 + .../binutils/0001-CVE-2021-42574.patch | 1998 +++++++++++++++++ 2 files changed, 1999 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/0001-CVE-2021-42574.patch
meta/recipes-devtools/binutils/binutils-2.37.inc +1 -0
@@ -33,5 +33,6 @@ SRC_URI = "\ file://0016-Check-for-clang-before-checking-gcc-version.patch \ file://0017-bfd-Close-the-file-descriptor-if-there-is-no-archive.patch \ file://0001-elf-Discard-input-.note.gnu.build-id-sections.patch \ + file://0001-CVE-2021-42574.patch \ " S = "${WORKDIR}/git"
meta/recipes-devtools/binutils/binutils/0001-CVE-2021-42574.patch new file +1998 -0
1,998 lines not on this page · raw message
Signature · 1 line
2.31.1
Quoted 14 lines · pgowda
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=b3aa80b45c4f46029efeb204bb9f2d2c4278a0e5]
Signed-off-by pgowda <[email protected]>--- .../binutils/binutils-2.37.inc | 1 + .../binutils/0001-CVE-2021-42574.patch | 1998 +++++++++++++++++ 2 files changed, 1999 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/0001-CVE-2021-42574.patchmeta/recipes-devtools/binutils/binutils-2.37.inc +0
-0
meta/recipes-devtools/binutils/binutils-2.37.inc SRC_URI = "\ · line 38
Quoted 6 lines
meta/recipes-devtools/binutils/binutils-2.37.inc +1
-0@@ -33,5 +33,6 @@ SRC_URI = "\ file://0016-Check-for-clang-before-checking-gcc-version.patch \ file://0017-bfd-Close-the-file-descriptor-if-there-is-no-archive.patch \ file://0001-elf-Discard-input-.note.gnu.build-id-sections.patch \ + file://0001-CVE-2021-42574.patch \ " S = "${WORKDIR}/git"
This fails to compile on mingw:
https://autobuilder.yoctoproject.org/typhoon/#/builders/89/builds/4502/steps/12/logs/stdio
I suspect we also need:
Cheers,
Richard
Hi Richard,
Quoted 2 lines
This fails to compile on mingw:
https://autobuilder.yoctoproject.org/typhoon/#/builders/89/builds/4502/steps/12/logs/stdio
Thanks for pointing out the issue and build error.
Quoted 2 lines
I suspect we also need:
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=795588aec4f894206863c938bd6d716895886009
Updated the patch and tested on mingw and ran regression for "qemux86-64" without any regressions.
https://lists.openembedded.org/g/openembedded-core/message/159941
Thanks,
Pgowda