This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] libdwfl: Fix memory leak in link_map.c dwfl_link_map_report.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Sat, 02 Jan 2016 21:09:14 +0100
- Subject: Re: [PATCH] libdwfl: Fix memory leak in link_map.c dwfl_link_map_report.
On Tue, Dec 01, 2015 at 11:17:22PM +0100, Mark Wielaard wrote:
> The phdrs buffer could come from the core file or through the executable.
> dwfl_link_map_report would leak the buffer if it came from the executable.
> Track where the buffer came from and free appropriately.
Pushed to master.