[PATCH] readelf: While printing .debug_loc make sure that next_off doesn't overflow.

Mark Wielaard mark@klomp.org
Fri Jun 15 22:24:00 GMT 2018

On Wed, Jun 13, 2018 at 03:24:45PM +0200, Mark Wielaard wrote:
> Found by the afl fuzzer. The next offset (after a locview) comes from a
> DIE loclist attribute. This could be a bogus value so large it overflows
> the buffer and makes us print past the end of buffer.

Pushed to master.

More information about the Elfutils-devel mailing list