bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/22166] big memory allocation failure


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/22166] big memory allocation failure
Date: Sun, 24 Sep 2017 06:49:49 +0000

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

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:

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

commit bd61e135492ecf624880e6b78e5fcde3c9716df6
Author: Alan Modra <address@hidden>
Date:   Sun Sep 24 14:34:57 2017 +0930

    PR22166, SHT_GNU_verneed memory allocation

    The sanity check covers the previous minimim size, plus that the size
    is at least enough for sh_info verneed entries.

    Also, since we write all verneed fields or exit with an error, there
    isn't any need to zero the memory allocated for verneed entries.

        PR 22166
        * elf.c (_bfd_elf_slurp_version_tables): Test sh_info on
        SHT_GNU_verneed section for sanity.  Don't zalloc memory for
        verref.

-- 
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]