commit | beab453223769279cc1cef68a1622ab8978641f7 | [log] [tgz] |
---|---|---|
author | Nick Clifton <nickc@redhat.com> | Fri Nov 30 11:43:12 2018 +0000 |
committer | Nick Clifton <nickc@redhat.com> | Fri Nov 30 11:43:12 2018 +0000 |
tree | b93c05695f7ee792cef528584a80e8f4a13bc9aa | |
parent | ba85c15dabe144e4bcee5a1b388b32bee10729e1 [diff] |
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.