diff options
author | Alan Modra <amodra@gmail.com> | 2020-09-04 19:19:18 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-09-04 19:29:02 +0930 |
commit | 8642dafaef21aa6747cec01df1977e9c52eb4679 (patch) | |
tree | 7674ac87fdb82a435b63f9d60355a901bfebc3b6 /gdb | |
parent | 1e3b96fd6cf0c7d018083994ad951ccf92aba582 (diff) | |
download | binutils-8642dafaef21aa6747cec01df1977e9c52eb4679.zip binutils-8642dafaef21aa6747cec01df1977e9c52eb4679.tar.gz binutils-8642dafaef21aa6747cec01df1977e9c52eb4679.tar.bz2 |
PR26574, heap buffer overflow in _bfd_elf_slurp_secondary_reloc_section
A horribly fuzzed object with section headers inside the ELF header.
Disallow that, and crazy reloc sizes.
PR 26574
* elfcode.h (elf_object_p): Sanity check section header offset.
* elf.c (_bfd_elf_slurp_secondary_reloc_section): Sanity check
sh_entsize.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions