[PATCH] readelf: Don't leak lengths array when detecting an invalid hash chain.

Mark Wielaard mark@klomp.org
Fri Jun 8 10:07:00 GMT 2018


On Tue, 2018-06-05 at 21:55 +0200, Mark Wielaard wrote:
> In both handle_sysv_hash and handle_sysv_hash64 we check the has chain
> isn't too long. If it is we would report an error and leak the lengths
> array. Just clean up the array even in the error case.

Pushed to master.



More information about the Elfutils-devel mailing list