[Bug libdw/28655] There seems to be a memory leak in file_read_elf

mark at klomp dot org sourceware-bugzilla@sourceware.org
Thu Dec 9 19:31:01 GMT 2021


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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
Thanks for testing, pushed as:

commit 98e7adf70896ac179258d41c2aac38e9e91614bb
Author: Mark Wielaard <mark@klomp.org>
Date:   Wed Dec 8 23:44:34 2021 +0100

    libdwfl: Don't install an Elf handle in a Dwfl_Module twice

    dwfl_segment_report_module can be called with the same module
    name, start and end address twice (probably because of a corrupt
    core file). In that case don't override the main.elf handle if
    it already exists.

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

    Signed-off-by: Mark Wielaard <mark@klomp.org>

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


More information about the Elfutils-devel mailing list