mirror of
https://git.yoctoproject.org/poky
synced 2026-09-15 06:49:33 +02:00
gcc: Remove stale gcc 8 patchfile
(From OE-Core rev: 176c70277d82228bc440f3fcd40ea90f0b12d641) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
38b772dab7
commit
c79f8c1513
@@ -1,44 +0,0 @@
|
|||||||
From a4f1b58eb48b349a5f353bc69c30be553506d33b Mon Sep 17 00:00:00 2001
|
|
||||||
From: rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
|
|
||||||
Date: Thu, 25 Jul 2019 10:48:26 +0000
|
|
||||||
Subject: [PATCH] 2019-07-25 Richard Biener <rguenther@suse.de>
|
|
||||||
|
|
||||||
PR lto/90924
|
|
||||||
Backport from mainline
|
|
||||||
2019-07-12 Ren Kimura <rkx1209dev@gmail.com>
|
|
||||||
|
|
||||||
* simple-object-elf.c (simple_object_elf_match): Check zero value
|
|
||||||
shstrndx.
|
|
||||||
|
|
||||||
|
|
||||||
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-8-branch@273794 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
||||||
|
|
||||||
Upstream-Status: Backport
|
|
||||||
Affectes: < 9.2
|
|
||||||
CVE: CVE-2019-14250
|
|
||||||
Dropped changelog
|
|
||||||
Signed-off-by: Armin Kuster <Akustre@mvista.com>
|
|
||||||
|
|
||||||
---
|
|
||||||
libiberty/simple-object-elf.c | 8 ++++++++
|
|
||||||
2 files changed, 17 insertions(+)
|
|
||||||
|
|
||||||
Index: gcc-8.2.0/libiberty/simple-object-elf.c
|
|
||||||
===================================================================
|
|
||||||
--- gcc-8.2.0.orig/libiberty/simple-object-elf.c
|
|
||||||
+++ gcc-8.2.0/libiberty/simple-object-elf.c
|
|
||||||
@@ -549,6 +549,14 @@ simple_object_elf_match (unsigned char h
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
+ if (eor->shstrndx == 0)
|
|
||||||
+ {
|
|
||||||
+ *errmsg = "invalid ELF shstrndx == 0";
|
|
||||||
+ *err = 0;
|
|
||||||
+ XDELETE (eor);
|
|
||||||
+ return NULL;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
return (void *) eor;
|
|
||||||
}
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user