libdw: Fix overflow in read_encoded_value for the DW_EH_PE_indirect case.
authorMark Wielaard <mjw@redhat.com>
Wed, 27 May 2015 12:05:15 +0000 (14:05 +0200)
committerMark Wielaard <mjw@redhat.com>
Fri, 5 Jun 2015 12:35:41 +0000 (14:35 +0200)
commit5a47d469b531f5978419e3a33e355d024135cbe0
tree35c292bf0986ca98d942d43a765e58de86a1f33a
parent1ae83ee85404b345150104148b50c60ebcb79398
libdw: Fix overflow in read_encoded_value for the DW_EH_PE_indirect case.

If we are going to dereference a pointer there should be at least enough
data to hold a pointer. Found by afl-fuzz.

Signed-off-by: Mark Wielaard <mjw@redhat.com>