https://sourceware.org/bugzilla/show_bug.cgi?id=26011

--- Comment #3 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=3c568b8afab512d12eb5adcf304e505b1bce644d

commit 3c568b8afab512d12eb5adcf304e505b1bce644d
Author: Alan Modra <amo...@gmail.com>
Date:   Wed May 20 07:55:56 2020 +0930

    PR26011, excessive memory allocation with fuzzed reloc sections

    Check sizes early, before users of slurp_relocs allocate buffers for
    the swapped in relocs.

            PR 26011
            * elf.c (_bfd_elf_get_reloc_upper_bound): Sanity check reloc
            section size against file size.
            (_bfd_elf_get_dynamic_reloc_upper_bound): Likewise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to