Fix an illegal memory access when trying to copy an ELF binary with corrupt section...
authorNick Clifton <nickc@redhat.com>
Tue, 24 Apr 2018 15:57:04 +0000 (16:57 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 24 Apr 2018 15:57:04 +0000 (16:57 +0100)
commitdb0c309f4011ca94a4abc8458e27f3734dab92ac
tree70aa7ddc6d5a4e58cda7506d59f5e0d600b10808
parentaa4a8c2a2a67545e90c877162c53cc9de42dc8b4
Fix an illegal memory access when trying to copy an ELF binary with corrupt section symbols.

PR 23113
* elf.c (ignore_section_sym): Check for the output_section pointer
being NULL before dereferencing it.
bfd/ChangeLog
bfd/elf.c