diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-12-08 00:37:59 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-09 12:00:43 +0000 |
commit | cf872ba730f96c47b9c36532b0a3a59cae98d0aa (patch) | |
tree | 93bf9b6282b7ef25a437edd753cb82664e963bf2 /meta/recipes-devtools/binutils/binutils/CVE-2019-14444.patch | |
parent | 50fec7cce59e74b999ae397cbe18f6e2f8f0e893 (diff) | |
download | poky-cf872ba730f96c47b9c36532b0a3a59cae98d0aa.tar.gz |
binutils: Upgrade to 2.33.1
Drop CVE patches which are already available on binutils-2_33-branch
Forward port rest of the patches
(From OE-Core rev: 7bcfce05045fb7e10456aa1f5301e70c178f20d7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/CVE-2019-14444.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/CVE-2019-14444.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2019-14444.patch b/meta/recipes-devtools/binutils/binutils/CVE-2019-14444.patch deleted file mode 100644 index 85b9a9f916..0000000000 --- a/meta/recipes-devtools/binutils/binutils/CVE-2019-14444.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From e17869db99195849826eaaf5d2d0eb2cfdd7a2a7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Nick Clifton <nickc@redhat.com> | ||
3 | Date: Mon, 5 Aug 2019 10:40:35 +0100 | ||
4 | Subject: [PATCH] Catch potential integer overflow in readelf when processing | ||
5 | corrupt binaries. | ||
6 | |||
7 | PR 24829 | ||
8 | * readelf.c (apply_relocations): Catch potential integer overflow | ||
9 | whilst checking reloc location against section size. | ||
10 | |||
11 | CVE: CVE-2019-14444 | ||
12 | Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e17869db99195849826eaaf5d2d0eb2cfdd7a2a7] | ||
13 | [Removed Changelog entry] | ||
14 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | ||
15 | --- | ||
16 | diff --git a/binutils/readelf.c b/binutils/readelf.c | ||
17 | index b896ad9f406..e785fde43e7 100644 | ||
18 | --- a/binutils/readelf.c | ||
19 | +++ b/binutils/readelf.c | ||
20 | @@ -13366,7 +13366,7 @@ apply_relocations (Filedata * filedata, | ||
21 | } | ||
22 | |||
23 | rloc = start + rp->r_offset; | ||
24 | - if ((rloc + reloc_size) > end || (rloc < start)) | ||
25 | + if (rloc >= end || (rloc + reloc_size) > end || (rloc < start)) | ||
26 | { | ||
27 | warn (_("skipping invalid relocation offset 0x%lx in section %s\n"), | ||
28 | (unsigned long) rp->r_offset, | ||