[PATCH] libdwfl: Check actually used ehsize, shentsize and phentsize in relocate.c
mjw at redhat.com
Thu Dec 11 14:15:26 UTC 2014
On Sun, 2014-12-07 at 23:45 +0100, Mark Wielaard wrote:
> In relocate_section we check relocation sections don't overlap any of the
> ELF headers. We should check against the actually used ehsize, shentsize
> and phentsize. Not the possibly bogus values in the file ehdr itself.
> 2014-12-07 Mark Wielaard <mjw at redhat.com>
> + * relocate.c (relocate_section): Sanity check section overlap against
> + actually used ehsize, shentsize and phentsize.
I pushed this to master now.
More information about the elfutils-devel