[PATCH] libdwfl: Fix memory leak in __libdwfl_open_by_build_id.

Mark Wielaard mjw at redhat.com
Fri Jun 5 12:55:38 UTC 2015


On Mon, 2015-06-01 at 17:10 +0200, Mark Wielaard wrote:
> commit c57829 introduced a memory leak by passing the path string to
> strsep. strsep will change the given pointer and set it to NULL
> eventually. Causing the original pointer to leak. Fix by passing a
> copy of the pointer to strsep.

Pushed to master.


More information about the elfutils-devel mailing list