]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR24785, bfd crashes on empty .PPC.EMB.apuinfo section
authorAlan Modra <amodra@gmail.com>
Mon, 8 Jul 2019 00:36:09 +0000 (10:06 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 8 Jul 2019 05:56:33 +0000 (15:26 +0930)
commit62a47958bd6e3cbd909c2f19cd4669a9670ce4f1
tree588e403369eedac6e237aa9ab8007a58dd5c65bc
parent3836e1d1ab859b9f6c41bc4565ef779640b7c706
PR24785, bfd crashes on empty .PPC.EMB.apuinfo section

PR 24785
* elf32-ppc.c (_bfd_elf_ppc_set_arch): Sanity check .PPC.EMB.apuinfo
size before reading first word.
bfd/ChangeLog
bfd/elf32-ppc.c