libdw: Add sanity check to store_implicit_value
authorMark Wielaard <mark@klomp.org>
Mon, 9 May 2022 16:47:45 +0000 (18:47 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 14 May 2022 13:32:18 +0000 (15:32 +0200)
commitededa24fba3a78d97a0e5df2bbe47067906af1d2
treee7e3cb34ae3920810297c65bbac940fe293f7f69
parent4a13bd2cf82a401cbe5850fe9a8bd3fcb5b13bfb
libdw: Add sanity check to store_implicit_value

Don't just skip the block length, but check it is equal to the
op->number that we are going to use as length.

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