summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils/CVE-2019-17451.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/CVE-2019-17451.patch')
-rw-r--r--meta/recipes-devtools/binutils/binutils/CVE-2019-17451.patch7
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2019-17451.patch b/meta/recipes-devtools/binutils/binutils/CVE-2019-17451.patch
index b36a532668..1fe05d310e 100644
--- a/meta/recipes-devtools/binutils/binutils/CVE-2019-17451.patch
+++ b/meta/recipes-devtools/binutils/binutils/CVE-2019-17451.patch
@@ -24,11 +24,9 @@ section of course overflows the buffer and tramples on other memory.
24 bfd/dwarf2.c | 11 ++++++++++- 24 bfd/dwarf2.c | 11 ++++++++++-
25 1 file changed, 10 insertions(+), 1 deletion(-) 25 1 file changed, 10 insertions(+), 1 deletion(-)
26 26
27diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
28index 0b4e485582..a91597b1d0 100644
29--- a/bfd/dwarf2.c 27--- a/bfd/dwarf2.c
30+++ b/bfd/dwarf2.c 28+++ b/bfd/dwarf2.c
31@@ -4426,7 +4426,16 @@ _bfd_dwarf2_slurp_debug_info (bfd *abfd, bfd *debug_bfd, 29@@ -4439,7 +4439,16 @@ _bfd_dwarf2_slurp_debug_info (bfd *abfd,
32 for (total_size = 0; 30 for (total_size = 0;
33 msec; 31 msec;
34 msec = find_debug_info (debug_bfd, debug_sections, msec)) 32 msec = find_debug_info (debug_bfd, debug_sections, msec))
@@ -46,6 +44,3 @@ index 0b4e485582..a91597b1d0 100644
46 44
47 stash->info_ptr_memory = (bfd_byte *) bfd_malloc (total_size); 45 stash->info_ptr_memory = (bfd_byte *) bfd_malloc (total_size);
48 if (stash->info_ptr_memory == NULL) 46 if (stash->info_ptr_memory == NULL)
49--
502.23.0
51