diff options
author | Nick Clifton <nickc@redhat.com> | 2018-11-30 11:43:12 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-11-30 11:43:12 +0000 |
commit | beab453223769279cc1cef68a1622ab8978641f7 (patch) | |
tree | b93c05695f7ee792cef528584a80e8f4a13bc9aa /bfd/ChangeLog | |
parent | ba85c15dabe144e4bcee5a1b388b32bee10729e1 (diff) | |
download | fsf-binutils-gdb-beab453223769279cc1cef68a1622ab8978641f7.zip fsf-binutils-gdb-beab453223769279cc1cef68a1622ab8978641f7.tar.gz fsf-binutils-gdb-beab453223769279cc1cef68a1622ab8978641f7.tar.bz2 |
Remove an abort in the bfd library and add a check for an integer overflow when mapping sections to segments.
PR 23932
* elf.c (IS_CONTAINED_BY_LMA): Add a check for a negative section
size.
(rewrite_elf_program_header): If no sections are mapped into a
segment return an error.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8f455ae..6ea4835 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +2018-11-30 Nick Clifton <nickc@redhat.com> + + PR 23932 + * elf.c (IS_CONTAINED_BY_LMA): Add a check for a negative section + size. + (rewrite_elf_program_header): If no sections are mapped into a + segment return an error. + 2018-11-30 Alan Modra <amodra@gmail.com> PR 23937 |