diff options
author | Thiruvadi Rajaraman <trajaraman@mvista.com> | 2017-11-08 13:41:00 +0530 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-07 17:10:09 +0000 |
commit | 7006ecaba3457fe48673b9c1da164a5165453eb0 (patch) | |
tree | de6859ddcbf2d511035530feb90b4bdd4ba2cfa5 /meta/recipes-devtools/binutils/binutils-2.27.inc | |
parent | 05281ec4a64e22b2c8fcaa153e0f03464800092c (diff) | |
download | poky-7006ecaba3457fe48673b9c1da164a5165453eb0.tar.gz |
binutils: CVE-2017-15024
Source: binutils-gdb.git
MR: 76524
Type: Security Fix
Disposition: Backport from binutils master
ChangeID: 5f22a66eabb228b655605b964ecd350aee700806
Description:
PR22187, infinite loop in find_abstract_instance_name
This patch prevents the simple case of infinite recursion in
find_abstract_instance_name by ensuring that the attributes being
processed are not the same as the previous call.
The patch also does a little cleanup, and leaves in place some changes
to the nested_funcs array that I made when I wrongly thought looping
might occur in scan_unit_for_symbols.
PR 22187
* dwarf2.c (find_abstract_instance_name): Add orig_info_ptr and
pname param. Return status. Make name const. Don't abort,
return an error. Formatting. Exit if current info_ptr matches
orig_info_ptr. Update callers.
(scan_unit_for_symbols): Start at nesting_level of zero. Make
nested_funcs an array of structs for extensibility. Formatting.
Affects: <= 2.29
(From OE-Core rev: 3e88bb5e933ebbf9c3445bac1814dc0ac105bf45)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 b1669a4ef0..ae43d2a5d2 100644 --- a/meta/recipes-devtools/binutils/binutils-2.27.inc +++ b/meta/recipes-devtools/binutils/binutils-2.27.inc | |||
@@ -101,6 +101,7 @@ SRC_URI = "\ | |||
101 | file://CVE-2017-9955_8.patch \ | 101 | file://CVE-2017-9955_8.patch \ |
102 | file://CVE-2017-9955_9.patch \ | 102 | file://CVE-2017-9955_9.patch \ |
103 | file://CVE-2017-14729.patch \ | 103 | file://CVE-2017-14729.patch \ |
104 | file://CVE-2017-15024.patch \ | ||
104 | " | 105 | " |
105 | S = "${WORKDIR}/git" | 106 | S = "${WORKDIR}/git" |
106 | 107 | ||