[PATCH] libdw: aggregate_size check NULL result from get_type.

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


On Mon, 2018-06-18 at 10:37 +0200, Mark Wielaard wrote:
> aggregate_size can be called recursively with the result of get_type.
> get_type can return NULL when dwarf_peel_type fails. Found by afl-
> fuzz.
> 
> dwarf_aggregate_size when called directly doesn't need a NULL check
> because it calls and checks the result of dwarf_peel_type directly.

Pushed to master.



More information about the Elfutils-devel mailing list