libdw: Explicitly check we could decode diridx in dwarf_getsrclines.
authorMark Wielaard <mark@klomp.org>
Tue, 5 Jun 2018 21:34:46 +0000 (23:34 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 8 Jun 2018 10:03:14 +0000 (12:03 +0200)
commit7ae7ec1ad75dd0689b5371c2e157165c4c7944c9
treeb6410b975e8bad1795a6669d3085f20f0da13ac2
parenta3b15251cdb68e225dc4e0433984784b7a6592d5
libdw: Explicitly check we could decode diridx in dwarf_getsrclines.

It is highly unlikely dwarf_formudata fails because we setup the attribute
ourselves, but better to explicitly mark diridx as bad if it does.

Signed-off-by: Mark Wielaard <mark@klomp.org>
libdw/ChangeLog
libdw/dwarf_getsrclines.c