[PATCH] libdw: Break dwarf_aggregate_size recursion because of type cycles.

Mark Wielaard mark@klomp.org
Wed Jun 20 11:58:00 GMT 2018


On Mon, 2018-06-18 at 12:44 +0200, Mark Wielaard wrote:
> Found by afl-fuzz. An array type (indirectly) referring to itself in the
> DIE tree could blow up the stack when dwarf_aggregate_size was called.
> Limit the recursion depth to MAX_DEPTH (256) entries.

Pushed to master.



More information about the Elfutils-devel mailing list