summaryrefslogtreecommitdiffstats
path: root/external/poky/meta/recipes-devtools/binutils/binutils/CVE-2018-20651.patch
diff options
context:
space:
mode:
authortakeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp>2020-11-02 11:07:33 +0900
committertakeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp>2020-11-02 11:07:33 +0900
commit1c7d6584a7811b7785ae5c1e378f14b5ba0971cf (patch)
treecd70a267a5ef105ba32f200aa088e281fbd85747 /external/poky/meta/recipes-devtools/binutils/binutils/CVE-2018-20651.patch
parent4204309872da5cb401cbb2729d9e2d4869a87f42 (diff)
recipes
Diffstat (limited to 'external/poky/meta/recipes-devtools/binutils/binutils/CVE-2018-20651.patch')
-rw-r--r--external/poky/meta/recipes-devtools/binutils/binutils/CVE-2018-20651.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/external/poky/meta/recipes-devtools/binutils/binutils/CVE-2018-20651.patch b/external/poky/meta/recipes-devtools/binutils/binutils/CVE-2018-20651.patch
deleted file mode 100644
index 24fb0312..00000000
--- a/external/poky/meta/recipes-devtools/binutils/binutils/CVE-2018-20651.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 6a29d95602b09bb83d2c82b45ed935157fb780aa Mon Sep 17 00:00:00 2001
-From: Alan Modra <amodra@gmail.com>
-Date: Mon, 31 Dec 2018 15:40:08 +1030
-Subject: [PATCH] PR24041, Invalid Memory Address Dereference in
- elf_link_add_object_symbols
-
- PR 24041
- * elflink.c (elf_link_add_object_symbols): Don't segfault on
- crafted ET_DYN with no program headers.
-
-CVE: CVE-2018-20651
-Upstream-Status: Backport
-[https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=54025d5812ff100f5f0654eb7e1ffd50f2e37f5f]
-
-Signed-off-by: Dan Tran <dantran@microsoft.com>
----
- bfd/elflink.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/bfd/elflink.c b/bfd/elflink.c
-index 46091b6341..557c550082 100644
---- a/bfd/elflink.c
-+++ b/bfd/elflink.c
-@@ -4178,7 +4178,7 @@ error_free_dyn:
- all sections contained fully therein. This makes relro
- shared library sections appear as they will at run-time. */
- phdr = elf_tdata (abfd)->phdr + elf_elfheader (abfd)->e_phnum;
-- while (--phdr >= elf_tdata (abfd)->phdr)
-+ while (phdr-- > elf_tdata (abfd)->phdr)
- if (phdr->p_type == PT_GNU_RELRO)
- {
- for (s = abfd->sections; s != NULL; s = s->next)
---
-2.22.0.vfs.1.1.57.gbaf16c8
-