On Thu, Dec 23, 2021 at 11:19:31PM +0100, Mark Wielaard wrote: > The callers of dwfl_elf_phdr_memory_callback assume at least minread > bytes are read and available. Make sure to check start is smaller than > elf->maximum_size before reading more. Return false if end - start is > smaller than minread. > > Found by afl-fuzz.
Pushed to master.