asan: NULL dereference in spu_elf_object_p
authorAlan Modra <amodra@gmail.com>
Sat, 13 Aug 2022 04:39:24 +0000 (14:09 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 13 Aug 2022 04:41:27 +0000 (14:11 +0930)
commit80075150727d653c39e9d037e15c6b87dcef08cd
tree04a5c9e463aa2321f28686e5a8f9fc79cd2bbc36
parent9effb9f15f4811a80169801b5d2938961424a7d4
asan: NULL dereference in spu_elf_object_p

* elf32-spu.c (spu_elf_object_p): Don't dereference NULL
shdr->bfd_section.
bfd/elf32-spu.c