nm: heap-buffer-overflow at elfcode.h:1507 in bfd_elf64_slurp_symbol_table
[binutils-gdb.git] / bfd / ChangeLog
index 4b0544a2ac9f9feac0c8732da911a9259b3578eb..2eee20fae0cd582c53a40a22529124137be2abf8 100644 (file)
@@ -1,3 +1,9 @@
+2023-09-27  Nick Clifton  <nickc@redhat.com>
+
+       PR 30885
+       * elfcode.h (elf_slurp_symbol_table): Compute the symcount for non
+       dynamic symbols in the same way as _bfd_elf_get_symtab_upper_bound.
+
 2023-09-13  Jacob Navia  <jacob@jacob.remcomp.fr>
 
        * elf.c (_bfd_elf_init_reloc_shdr): Don't segfault on alloc fail.