Don't overflow in __libdw_in_section and __libdw_offset_in_section.
authorUlf Hermann <ulf.hermann@qt.io>
Tue, 9 May 2017 16:28:33 +0000 (18:28 +0200)
committerMark Wielaard <mark@klomp.org>
Wed, 20 Dec 2017 16:47:01 +0000 (17:47 +0100)
commit0d100f63db640c533748a7adaa099499b2d2d4b0
treeb826932059ef3e87254dd811b53c9d34d5b4f5c2
parent51a7292b7ec7ddebcd2abddc7efff9d604494d44
Don't overflow in __libdw_in_section and __libdw_offset_in_section.

This exposes a bug in dwarf_formstring as detected by the dwarf-getmacros
test before we made sure to use the correct sec_idx for the CU.

Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>
Signed-off-by: Mark Wielaard <mark@klomp.org>
libdw/ChangeLog
libdw/libdwP.h