]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix a division by zero error when processing secondary relocs in a fuzzed input file.
authorNick Clifton <nickc@redhat.com>
Thu, 3 Sep 2020 15:11:43 +0000 (16:11 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 3 Sep 2020 15:11:43 +0000 (16:11 +0100)
commitac267c754cecd2bbbfc71feb9ca8ec84f6754cb4
treee09d57f12fb5d33ec9d950b66e954d8e0102bef3
parent8f5c6526ebbd8b5749dd2f348796b53f3e2b25ee
Fix a division by zero error when processing secondary relocs in a fuzzed input file.

PR 26521
* elf.c (_bfd_elf_write_secondary_reloc_section): Check for
secondary reloc sections with a zero sh_entsize field.
bfd/ChangeLog
bfd/elf.c