diff options
author | Thiruvadi Rajaraman <trajaraman@mvista.com> | 2017-08-31 19:00:45 +0530 |
---|---|---|
committer | Armin Kuster <akuster@mvista.com> | 2017-11-23 17:40:45 -0800 |
commit | ece6b0fa7efe3eba2f8acfeba4184cf992e5271a (patch) | |
tree | 56aec143a2dc58260f1b7509b0033c61c2cc7e74 /meta/recipes-devtools/binutils/binutils-2.27.inc | |
parent | fcd40bcd5d79e7ed928b51d48b6a68af3c6b45ca (diff) | |
download | openembedded-core-contrib-ece6b0fa7efe3eba2f8acfeba4184cf992e5271a.tar.gz |
binutils: CVE-2017-12451
Source: git://sourceware.org/git/binutils-gdb.git
MR: 73840
Type: Security Fix
Disposition: Backport from binutils-2_29-branch
ChangeID: 582c686f18c059d665189a6a09df3a8cc4a3b093
Description:
Fix address violation when attempting to read a corrupt field in a COFF archive header structure.
PR 21786
* coff-rs6000.c (_bfd_strntol): New function.
(_bfd_strntoll): New function.
(GET_VALUE_IN_FIELD): New macro.
(EQ_VALUE_IN_FIELD): new macro.
(_bfd_xcoff_slurp_armap): Use new macros.
(_bfd_xcoff_archive_p): Likewise.
(_bfd_xcoff_read_ar_hdr): Likewise.
(_bfd_xcoff_openr_next_archived_file): Likewise.
(_bfd_xcoff_stat_arch_elt): Likewise.
Extend previous fix to coff-rs6000.c to coff64-rs6000.c
PR 21786
* coff64-rs6000.c (_bfd_strntol): New function.
(_bfd_strntoll): New function.
(GET_VALUE_IN_FIELD): New macro.
(xcoff64_slurp_armap): Use new macros.
Affects: <= 2.29
Signed-off-by: Thiruvadi Rajaraman <trajaraman@mvista.com>
Reviewed-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils-2.27.inc')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils-2.27.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.27.inc b/meta/recipes-devtools/binutils/binutils-2.27.inc index 8cb7abc08a..3329a97ecf 100644 --- a/meta/recipes-devtools/binutils/binutils-2.27.inc +++ b/meta/recipes-devtools/binutils/binutils-2.27.inc @@ -56,6 +56,7 @@ SRC_URI = "\ file://CVE-2017-12448.patch \ file://CVE-2017-12449_12455_12457_1.patch \ file://CVE-2017-12449_12455_12457.patch \ + file://CVE-2017-12451.patch \ " S = "${WORKDIR}/git" |