libdwfl: Make sure there is at least one phdr
authorMark Wielaard <mark@klomp.org>
Fri, 17 Dec 2021 22:51:35 +0000 (23:51 +0100)
committerMark Wielaard <mark@klomp.org>
Sat, 18 Dec 2021 01:23:44 +0000 (02:23 +0100)
commitcdf407ef36378ba623c97f9c5c454666f45771fd
tree6a452ee7954503bdd9e533da66912d78fac5b72e
parentee99a6ec16f52fc31f322f7ec1abfedf400a09fa
libdwfl: Make sure there is at least one phdr

The buffer read in needs to contain room for at least one Phdr.

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