Fix null pointer dereference when parsing a corrupt ELF binary.
authorNick Clifton <nickc@redhat.com>
Mon, 14 Aug 2017 11:09:36 +0000 (12:09 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 14 Aug 2017 11:09:36 +0000 (12:09 +0100)
commit0c54f69295208331faab9bc5e995111a35672f9b
tree13717e998110407acae600f54ed7032ab901346b
parentd7f00f429aa525816cb3895462113326b6cb2fe2
Fix null pointer dereference when parsing a corrupt ELF binary.

PR 21957
* elf.c (setup_group): Check for an empty or very small group
section.
* po/bfd.pot: Regenerate.
bfd/ChangeLog
bfd/elf.c
bfd/po/bfd.pot