diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/CVE-2019-17450.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/CVE-2019-17450.patch | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2019-17450.patch b/meta/recipes-devtools/binutils/binutils/CVE-2019-17450.patch index a6ce0b9a8a..ce5b9f392d 100644 --- a/meta/recipes-devtools/binutils/binutils/CVE-2019-17450.patch +++ b/meta/recipes-devtools/binutils/binutils/CVE-2019-17450.patch | |||
@@ -20,12 +20,10 @@ Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> | |||
20 | bfd/dwarf2.c | 35 +++++++++++++++++------------------ | 20 | bfd/dwarf2.c | 35 +++++++++++++++++------------------ |
21 | 1 file changed, 17 insertions(+), 18 deletions(-) | 21 | 1 file changed, 17 insertions(+), 18 deletions(-) |
22 | 22 | ||
23 | diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c | ||
24 | index 0b4e485582..20ec9e2e56 100644 | ||
25 | --- a/bfd/dwarf2.c | 23 | --- a/bfd/dwarf2.c |
26 | +++ b/bfd/dwarf2.c | 24 | +++ b/bfd/dwarf2.c |
27 | @@ -2803,13 +2803,13 @@ lookup_symbol_in_variable_table (struct comp_unit *unit, | 25 | @@ -2812,13 +2812,13 @@ static bfd_boolean comp_unit_maybe_decod |
28 | } | 26 | struct dwarf2_debug *); |
29 | 27 | ||
30 | static bfd_boolean | 28 | static bfd_boolean |
31 | -find_abstract_instance (struct comp_unit * unit, | 29 | -find_abstract_instance (struct comp_unit * unit, |
@@ -45,7 +43,7 @@ index 0b4e485582..20ec9e2e56 100644 | |||
45 | { | 43 | { |
46 | bfd *abfd = unit->abfd; | 44 | bfd *abfd = unit->abfd; |
47 | bfd_byte *info_ptr; | 45 | bfd_byte *info_ptr; |
48 | @@ -2820,6 +2820,14 @@ find_abstract_instance (struct comp_unit * unit, | 46 | @@ -2829,6 +2829,14 @@ find_abstract_instance (struct comp_unit |
49 | struct attribute attr; | 47 | struct attribute attr; |
50 | const char *name = NULL; | 48 | const char *name = NULL; |
51 | 49 | ||
@@ -60,7 +58,7 @@ index 0b4e485582..20ec9e2e56 100644 | |||
60 | /* DW_FORM_ref_addr can reference an entry in a different CU. It | 58 | /* DW_FORM_ref_addr can reference an entry in a different CU. It |
61 | is an offset from the .debug_info section, not the current CU. */ | 59 | is an offset from the .debug_info section, not the current CU. */ |
62 | if (attr_ptr->form == DW_FORM_ref_addr) | 60 | if (attr_ptr->form == DW_FORM_ref_addr) |
63 | @@ -2939,15 +2947,6 @@ find_abstract_instance (struct comp_unit * unit, | 61 | @@ -2962,15 +2970,6 @@ find_abstract_instance (struct comp_unit |
64 | info_ptr, info_ptr_end); | 62 | info_ptr, info_ptr_end); |
65 | if (info_ptr == NULL) | 63 | if (info_ptr == NULL) |
66 | break; | 64 | break; |
@@ -76,7 +74,7 @@ index 0b4e485582..20ec9e2e56 100644 | |||
76 | switch (attr.name) | 74 | switch (attr.name) |
77 | { | 75 | { |
78 | case DW_AT_name: | 76 | case DW_AT_name: |
79 | @@ -2961,7 +2960,7 @@ find_abstract_instance (struct comp_unit * unit, | 77 | @@ -2984,7 +2983,7 @@ find_abstract_instance (struct comp_unit |
80 | } | 78 | } |
81 | break; | 79 | break; |
82 | case DW_AT_specification: | 80 | case DW_AT_specification: |
@@ -85,7 +83,7 @@ index 0b4e485582..20ec9e2e56 100644 | |||
85 | &name, is_linkage, | 83 | &name, is_linkage, |
86 | filename_ptr, linenumber_ptr)) | 84 | filename_ptr, linenumber_ptr)) |
87 | return FALSE; | 85 | return FALSE; |
88 | @@ -3175,7 +3174,7 @@ scan_unit_for_symbols (struct comp_unit *unit) | 86 | @@ -3200,7 +3199,7 @@ scan_unit_for_symbols (struct comp_unit |
89 | 87 | ||
90 | case DW_AT_abstract_origin: | 88 | case DW_AT_abstract_origin: |
91 | case DW_AT_specification: | 89 | case DW_AT_specification: |
@@ -94,6 +92,3 @@ index 0b4e485582..20ec9e2e56 100644 | |||
94 | &func->name, | 92 | &func->name, |
95 | &func->is_linkage, | 93 | &func->is_linkage, |
96 | &func->file, | 94 | &func->file, |
97 | -- | ||
98 | 2.23.0 | ||
99 | |||