bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/26330] Malloc size error in objdump


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/26330] Malloc size error in objdump
Date: Mon, 03 Aug 2020 07:41:25 +0000

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 <amodra@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b5f386d52049067ca081651a460ab4ae85e327d4

commit b5f386d52049067ca081651a460ab4ae85e327d4
Author: Alan Modra <amodra@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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]