mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
PowerPC, sanity check r_offset in relocate_section
* elf32-ppc.c (offset_in_range): New function. (ppc_elf_vle_split16): Sanity check r_offset before accessing section contents. Return status. (ppc_elf_relocate_section): Sanity check r_offset before accessing section contents. Don't segfault on NULL howto.
This commit is contained in:
parent
9f81b99e24
commit
e7776f52fe
783
bfd/elf32-ppc.c
783
bfd/elf32-ppc.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user