Fix an illegal memory access when parsing an ELF file containing corrupt symbol versi...
authorNick Clifton <nickc@redhat.com>
Wed, 19 Oct 2022 14:09:12 +0000 (15:09 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 19 Oct 2022 14:09:12 +0000 (15:09 +0100)
commit5c831a3c7f3ca98d6aba1200353311e1a1f84c70
tree04a0d715b525443894fc8505ab6efc6bc576dced
parentfeab6abfe23b5b1724cb3c00059254e8f1bc5225
Fix an illegal memory access when parsing an ELF file containing corrupt symbol version information.

PR 29699
* elf.c (_bfd_elf_slurp_version_tables): Fail if the sh_info field
of the section header is zero.
bfd/ChangeLog
bfd/elf.c