Fix an illegal memory access when parsing a corrupt ELF file.
authorNick Clifton <nickc@redhat.com>
Thu, 14 Mar 2019 16:03:07 +0000 (16:03 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 14 Mar 2019 16:03:07 +0000 (16:03 +0000)
commit6cc71b820cc70b63711e9d7f584550b56e172b0a
tree2dba1c342271b8d6893e2d6d3b1e6898a78827fb
parent3fff2c370cd658877be8107bfe9dde8dd0470b46
Fix an illegal memory access when parsing a corrupt ELF file.

PR 24333
* elflink.c (_bfd_elf_add_default_symbol): Add a check for a NULL
section owner pointer when adding the default symbol.
bfd/ChangeLog
bfd/elflink.c