libdw: Check DIE address fall inside the CU before reading abbrev code.
authorMark Wielaard <mark@klomp.org>
Thu, 7 Jun 2018 14:57:23 +0000 (16:57 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 9 Jun 2018 07:57:53 +0000 (09:57 +0200)
commit92b7bbded238b93fc1021bf8613f2cc4ab59e31a
tree73b29c4cb6262a1754d46261e1fbfd7b052a8c41
parent64024753424afcd263f5022446be15a920161bd0
libdw: Check DIE address fall inside the CU before reading abbrev code.

The afl fuzzer found a case where we tried reading an uleb for the DIE
abbrev code without properly checking the DIE address is inside the CU.

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