commit | 3038ee821b29147f2b036372937747f150f2f755 | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mark@klomp.org> | Wed Dec 08 14:26:54 2021 +0100 |
committer | Mark Wielaard <mark@klomp.org> | Wed Dec 08 17:18:07 2021 +0100 |
tree | 31f020cbc0bfc12131755fed4b5918864731ae7e | |
parent | 8349d63903ce20f15ab78150d150822b1883098b [diff] |
libdwfl: Don't read beyond end of file in dwfl_segment_report_module The ELF might not be fully mapped into memory (which probably means the phdrs are bogus). Don't try to read beyond what we have in memory already. Reported-by: Evgeny Vereshchagin <evvers@ya.ru> Signed-off-by: Mark Wielaard <mark@klomp.org>