summaryrefslogtreecommitdiffstats
path: root/libdw/dwarf.h
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2018-05-20 21:57:39 +0200
committerMark Wielaard <[email protected]>2018-05-30 14:56:28 +0200
commite9e64f6748499d458b951e0dcd46d6cc9d850886 (patch)
treec2b0538445c6eae69f1b2de46463415feb4f9d06 /libdw/dwarf.h
parent4ac4a42376428248f7174c7bb713fff27bb4d4b0 (diff)
libdw: Fix memory corruption in libdw_find_split_unit.
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. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libdw/dwarf.h')
0 files changed, 0 insertions, 0 deletions