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 /bfd/ChangeLog | |
parent | 1e3b96fd6cf0c7d018083994ad951ccf92aba582 (diff) | |
download | gdb-8642dafaef21aa6747cec01df1977e9c52eb4679.zip gdb-8642dafaef21aa6747cec01df1977e9c52eb4679.tar.gz gdb-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 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a431f8f..75bcf55 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,12 @@ 2020-09-04 Alan Modra <amodra@gmail.com> + PR 26574 + * elfcode.h (elf_object_p): Sanity check section header offset. + * elf.c (_bfd_elf_slurp_secondary_reloc_section): Sanity check + sh_entsize. + +2020-09-04 Alan Modra <amodra@gmail.com> + PR 15146 PR 26314 PR 26530 |