aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-09-03 16:11:43 +0100
committerNick Clifton <nickc@redhat.com>2020-09-03 16:11:43 +0100
commitac267c754cecd2bbbfc71feb9ca8ec84f6754cb4 (patch)
treee09d57f12fb5d33ec9d950b66e954d8e0102bef3 /bfd/ChangeLog
parent8f5c6526ebbd8b5749dd2f348796b53f3e2b25ee (diff)
downloadgdb-ac267c754cecd2bbbfc71feb9ca8ec84f6754cb4.zip
gdb-ac267c754cecd2bbbfc71feb9ca8ec84f6754cb4.tar.gz
gdb-ac267c754cecd2bbbfc71feb9ca8ec84f6754cb4.tar.bz2
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.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 2dc5b54..1b58f95 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2020-09-03 Nick Clifton <nickc@redhat.com>
+
+ PR 26521
+ * elf.c (_bfd_elf_write_secondary_reloc_section): Check for
+ secondary reloc sections with a zero sh_entsize field.
+
2020-09-03 Nelson Chu <nelson.chu@sifive.com>
* elfnn-riscv.c (riscv_i_or_e_p): Minor cleanup for warnings/errors.