[Top][All Lists]

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

[Bug binutils/23633] objcopy Segmentation fault

From: hjl.tools at gmail dot com
Subject: [Bug binutils/23633] objcopy Segmentation fault
Date: Tue, 11 Sep 2018 18:37:16 +0000


H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
                 CC|                            |nickc at redhat dot com
   Target Milestone|---                         |2.32

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
It is caused by

3391569f218cd5d05e96769f47559d5828be3acd is the first bad commit
commit 3391569f218cd5d05e96769f47559d5828be3acd
Author: Nick Clifton <address@hidden>
Date:   Fri Jul 20 15:05:34 2018 +0100

    Close memory and resource leaks detected by coverity in the binutils

            * objcopy.c (add_specific_symbols): Free buffer on exit.
            (add_redefine_syms_file): Close file handle on exit.
            (copy_object): Close file handle on early exit.
            Free buffer on early exit.
            Free gaps buffers once they are no longer needed.
            * dwarf.c (display_debug_frames): Free allocated memory on exit.
            (load_separate_debug_info): Free allocate memory on early exit.

I am working on a small testcase.

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]