bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/21943] Memory leak in asymbol.name


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/21943] Memory leak in asymbol.name
Date: Fri, 11 Aug 2017 16:43:58 +0000

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

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <address@hidden>:

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

commit 98c5dfc99444094652c2f2259126f70e5cacf56f
Author: H.J. Lu <address@hidden>
Date:   Fri Aug 11 09:32:44 2017 -0700

    x86: Allocate space for symbol names with symbol table

    When synthesizing symbols for PLT entries, allocate space for symbol
    names with @plt suffixes together with symbol table so that all memory
    is returned when symbol table is freed.

        PR binutils/21943
        * elf32-i386.c (elf_i386_get_synthetic_symtab): Allocate space
        for @plt suffixes first.
        * elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Likewise.

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