commit | a8efc328a5a88921e030638c257d36979f19db9f | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mark@klomp.org> | Mon Jun 18 00:58:24 2018 +0200 |
committer | Mark Wielaard <mark@klomp.org> | Wed Jun 20 13:52:01 2018 +0200 |
tree | 0bd0bd5a03837a0f68f084d632b9f1eefd89e34c | |
parent | 822a06cd87496278298ab3167d6bb5968762ec20 [diff] |
libdw: Break dwarf_aggregate_size recursion because of type cycles. 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. Signed-off-by: Mark Wielaard <mark@klomp.org>