PR26240
* coffgen.c (coff_get_normalized_symtab): Fix off-by-one error in
check for aux entries that overflow the buufer.
+2020-07-15 Nick Clifton <nickc@redhat.com>
+
+ PR26240
+ * coffgen.c (coff_get_normalized_symtab): Fix off-by-one error in
+ check for aux entries that overflow the buufer.
+
2020-07-15 Hans-Peter Nilsson <hp@bitrange.com>
* elf64-mmix.c (mmix_elf_relax_section): Improve accounting for
internal_ptr->is_sym = TRUE;
/* PR 17512: Prevent buffer overrun. */
- if (symbol_ptr->u.syment.n_numaux > (raw_end - raw_src) / symesz)
+ if (symbol_ptr->u.syment.n_numaux > ((raw_end - 1) - raw_src) / symesz)
{
bfd_release (abfd, internal);
return NULL;