[PATCH] libdw: Fix memory corruption in libdw_find_split_unit.

Mark Wielaard mark@klomp.org
Wed May 30 12:59:00 GMT 2018


On Mon, 2018-05-28 at 17:33 +0200, Mark Wielaard wrote:
> Found by valgrind when trying to match a split unit from a .dwo file
> that doesn't contain the split unit (as first) match. We would close
> the split Dwarf too early, before we had inspected all units in it.
> 
> Add a testcase that simulates this. Which failed (at least under valgrind
> as run by make distcheck) before the fix.

Pushed to master.



More information about the Elfutils-devel mailing list