]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdw: Correct data end checkfor deref_type operand in dwarf_getlocation
authorMark Wielaard <mark@klomp.org>
Tue, 14 Feb 2023 19:24:30 +0000 (20:24 +0100)
committerMark Wielaard <mark@klomp.org>
Tue, 14 Feb 2023 19:24:30 +0000 (20:24 +0100)
commit0e8306768a6d0195c01644e7c5a6fff027fd19f2
tree83ba082914818b39c831340e2c9a69ec9fe6a249
parenteab09c65a9eacb3f6001488f6980e5ac8f0c0aeb
libdw: Correct data end checkfor deref_type operand in dwarf_getlocation

In __libdw_intern_expression we checked for one byte too many.
We only need one byte for the size and (at least one) for the uleb128
DIE reference.

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