[PATCH] libdwfl: Fix memory leak in unzip()

Mark Wielaard mark@klomp.org
Mon May 8 16:12:05 GMT 2023


Hi John,

On Thu, 2023-04-27 at 23:04 -0700, John Gallagher wrote:
> state.input_buffer is not freed if the file is found to not be
> compressed with the compression algorithm unzip() is trying to use.

Thanks, pushed. It is clearly correct to call fail here.
Although in all my tests input_buffer was always NULL.

Cheers,

Mark


More information about the Elfutils-devel mailing list