aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-09-04 19:19:18 +0930
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-02-07 02:10:05 +0200
commit68d5bbdfaecac542895100ac9f93e49e7a4cf551 (patch)
treef25d09052e9d6e7d56832fffd9ea73eacd39ec7b /ld/testsuite/ld-elf/pr26302.ver
parentld: Override the IR definition for non-ELF targets (diff)
downloadbinutils-gdb-gentoo/binutils-2.35.2.tar.gz
binutils-gdb-gentoo/binutils-2.35.2.tar.bz2
binutils-gdb-gentoo/binutils-2.35.2.zip
PR26574, heap buffer overflow in _bfd_elf_slurp_secondary_reloc_sectiongentoo/binutils-2.35.2-1gentoo/binutils-2.35.2
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. (cherry picked from commit 8642dafaef21aa6747cec01df1977e9c52eb4679)
Diffstat (limited to 'ld/testsuite/ld-elf/pr26302.ver')
0 files changed, 0 insertions, 0 deletions