Files
poky/meta/recipes-devtools
Thiruvadi Rajaraman 7006ecaba3 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>
2018-01-07 17:10:09 +00:00
..
2016-09-14 22:22:07 +01:00
2017-08-29 16:50:53 +01:00
2018-01-07 17:10:09 +00:00
2016-09-03 09:58:37 +01:00
2016-07-26 08:56:26 +01:00
2016-06-12 23:47:18 +01:00
2016-10-11 08:27:27 +01:00
2016-08-25 23:03:45 +01:00
2016-08-10 10:46:29 +01:00
2015-12-18 12:18:19 +00:00
2016-07-08 09:57:24 +01:00
2016-05-25 07:50:17 +01:00
2016-07-12 23:10:14 +01:00
2016-08-25 23:03:45 +01:00
2016-06-07 15:22:37 +01:00
2016-09-09 12:12:22 +01:00
2016-09-15 12:15:07 +01:00
2016-06-15 08:35:03 +01:00
2016-06-03 13:13:27 +01:00
2016-07-01 16:22:43 +01:00
2016-08-04 15:22:23 +01:00
2015-12-16 12:12:15 +00:00
2016-09-14 22:22:07 +01:00
2015-06-11 23:59:15 +01:00