aboutsummaryrefslogtreecommitdiff
path: root/include/elf/pru.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2025-07-29 10:46:04 +0930
committerAlan Modra <amodra@gmail.com>2025-07-29 22:28:10 +0930
commit0b23ce71150e80cb09ae2ea791001957b8b48269 (patch)
tree7808b710999a780094c4f06e84ad0519a2bd8bd5 /include/elf/pru.h
parent8fd6a9c70b4b67541dbafba64d0e215eada05ff1 (diff)
downloadbinutils-master.zip
binutils-master.tar.gz
binutils-master.tar.bz2
ppc _bfd_clear_contentsHEADmaster
ppc32 isn't susceptible to the PR33223 segfault, but could hit a _bfd_clear_contents segfault with a carefully crafted invalid object. * elf32-ppc.c (ARRAY_SIZE): Define. (ppc_elf_howto_init): Use ARRAY_SIZE. (ppc_elf_reloc_name_lookup): Likewise. (ppc_elf_info_to_howto): Likewise, and consolidate error handling. (ppc_elf_check_relocs): Guard against segfaults caused by a NULL howto passed to _bfd_clear_contents. Use ARRAY_SIZE.
Diffstat (limited to 'include/elf/pru.h')
0 files changed, 0 insertions, 0 deletions