aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils/CVE-2017-15938.patch
diff options
context:
space:
mode:
authorThiruvadi Rajaraman <trajaraman@mvista.com>2017-11-08 13:41:00 +0530
committerArmin Kuster <akuster@mvista.com>2017-11-23 17:40:49 -0800
commitd842b34140feaf18d1848bd7d039e2ed1d7d4d35 (patch)
tree1e4dfc1f321ff0bd6ba4998744da78f42ecbb01d /meta/recipes-devtools/binutils/binutils/CVE-2017-15938.patch
parent5bb1d9c4ae9e959a4405f372a7ef7307fc1f1deb (diff)
downloadopenembedded-core-contrib-d842b34140feaf18d1848bd7d039e2ed1d7d4d35.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 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/CVE-2017-15938.patch')
0 files changed, 0 insertions, 0 deletions