libdwfl: Sanity check partial core file phdrs data read.
authorMark Wielaard <mark@klomp.org>
Wed, 27 Mar 2019 21:32:21 +0000 (22:32 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 27 Mar 2019 21:39:39 +0000 (22:39 +0100)
commite1f353b785b5cdb20d8004b6c4070c3e2a783e8b
tree1465a1ffac21b0ba7377bde9ff5057cb09514e1d
parentf03ac75239e0981deaf4aa18f66f423bcc5ce051
libdwfl: Sanity check partial core file phdrs data read.

When reading the phdrs data from the core file check if we got everything,
or just part of the data.

https://sourceware.org/bugzilla/show_bug.cgi?id=24387

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