diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/CVE-2018-18605.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/CVE-2018-18605.patch | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2018-18605.patch b/meta/recipes-devtools/binutils/binutils/CVE-2018-18605.patch index d6c7067715..a117f95df1 100644 --- a/meta/recipes-devtools/binutils/binutils/CVE-2018-18605.patch +++ b/meta/recipes-devtools/binutils/binutils/CVE-2018-18605.patch | |||
@@ -15,25 +15,9 @@ Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> | |||
15 | bfd/merge.c | 3 +++ | 15 | bfd/merge.c | 3 +++ |
16 | 2 files changed, 9 insertions(+) | 16 | 2 files changed, 9 insertions(+) |
17 | 17 | ||
18 | diff --git a/bfd/ChangeLog b/bfd/ChangeLog | ||
19 | index 31ff3d6..da423b1 100644 | ||
20 | --- a/bfd/ChangeLog | ||
21 | +++ b/bfd/ChangeLog | ||
22 | @@ -1,3 +1,9 @@ | ||
23 | +2018-10-23 Alan Modra <amodra@gmail.com> | ||
24 | + | ||
25 | + PR 23804 | ||
26 | + * merge.c (_bfd_add_merge_section): Don't attempt to merge | ||
27 | + sections where size is not a multiple of entsize. | ||
28 | + | ||
29 | 2018-10-13 Alan Modra <amodra@gmail.com> | ||
30 | |||
31 | PR 23770 | ||
32 | diff --git a/bfd/merge.c b/bfd/merge.c | ||
33 | index 7904552..5e3bba0 100644 | ||
34 | --- a/bfd/merge.c | 18 | --- a/bfd/merge.c |
35 | +++ b/bfd/merge.c | 19 | +++ b/bfd/merge.c |
36 | @@ -376,6 +376,9 @@ _bfd_add_merge_section (bfd *abfd, void **psinfo, asection *sec, | 20 | @@ -376,6 +376,9 @@ _bfd_add_merge_section (bfd *abfd, void |
37 | || sec->entsize == 0) | 21 | || sec->entsize == 0) |
38 | return TRUE; | 22 | return TRUE; |
39 | 23 | ||
@@ -43,5 +27,3 @@ index 7904552..5e3bba0 100644 | |||
43 | if ((sec->flags & SEC_RELOC) != 0) | 27 | if ((sec->flags & SEC_RELOC) != 0) |
44 | { | 28 | { |
45 | /* We aren't prepared to handle relocations in merged sections. */ | 29 | /* We aren't prepared to handle relocations in merged sections. */ |
46 | -- | ||
47 | 2.9.3 | ||