https://sourceware.org/bugzilla/show_bug.cgi?id=26330
--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alan Modra <amo...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b5f386d52049067ca081651a460ab4ae85e327d4 commit b5f386d52049067ca081651a460ab4ae85e327d4 Author: Alan Modra <amo...@gmail.com> Date: Mon Aug 3 11:01:27 2020 +0930 PR26330, Malloc size error in objdump PR 26330 * elf.c (_bfd_elf_get_symtab_upper_bound): Sanity check symbol table size against file size. Correct LONG_MAX limit check. (_bfd_elf_get_dynamic_symtab_upper_bound): Likewise. (_bfd_elf_get_reloc_upper_bound): Don't check file size if writing. (_bfd_elf_get_dynamic_reloc_upper_bound): Likewise. * elf64-x86-64-.c (elf_x86_64_get_synthetic_symtab): Use bfd_malloc_and_get_section. -- You are receiving this mail because: You are on the CC list for the bug.