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/elfcode.h | |
parent | ba85c15dabe144e4bcee5a1b388b32bee10729e1 (diff) | |
download | gdb-beab453223769279cc1cef68a1622ab8978641f7.zip gdb-beab453223769279cc1cef68a1622ab8978641f7.tar.gz 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/elfcode.h')
0 files changed, 0 insertions, 0 deletions