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
1 changed files with 434 additions and 349 deletions
783
bfd/elf32-ppc.c
783
bfd/elf32-ppc.c
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue