nm: heap-buffer-overflow at elfcode.h:1507 in bfd_elf64_slurp_symbol_table
authorNick Clifton <nickc@redhat.com>
Wed, 27 Sep 2023 15:09:06 +0000 (16:09 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 27 Sep 2023 15:09:06 +0000 (16:09 +0100)
commit4befded43f524d0840bb88fff7b77415b73a3851
tree791d87dee82da396ed3d676f84899db03efcba31
parent58bceb182740111d66fb0afa4b7941a5937dc492
nm: heap-buffer-overflow at elfcode.h:1507 in bfd_elf64_slurp_symbol_table

  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.
bfd/ChangeLog
bfd/elfcode.h