This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] libdwfl: Fix memory leak in find_debuginfo_in_path.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Tue, 09 Jun 2015 22:56:51 +0200
- Subject: Re: [PATCH] libdwfl: Fix memory leak in find_debuginfo_in_path.
On Sat, Jun 06, 2015 at 11:48:26PM +0200, Mark Wielaard wrote:
> commit c4f133 libdwfl: find_debuginfo_in_patch don't alloca/strdupa
> strings of unknown size. Introduced a memory leak in the case nothing
> was found. Make sure before returning all temporary strings are all
> freed.
Pushed to master.