aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2018-11-30 11:43:12 +0000
committerNick Clifton <nickc@redhat.com>2018-11-30 11:43:12 +0000
commitbeab453223769279cc1cef68a1622ab8978641f7 (patch)
treeb93c05695f7ee792cef528584a80e8f4a13bc9aa /bfd/elfcode.h
parentba85c15dabe144e4bcee5a1b388b32bee10729e1 (diff)
downloadgdb-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