Elf.h already has code checking that section table does not go past end of file.
Problem is that this check may not work on values greater than UINT64_MAX / Header->e_shentsize
because of calculation overflow.
Parch fixes the issue.
Differential D25432
[Object/ELF] - Fixed behavior when SectionHeaderTable->sh_size is too large. grimar on Oct 10 2016, 7:15 AM. Authored by
Details
Elf.h already has code checking that section table does not go past end of file. Parch fixes the issue.
Diff Detail
|