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 <m...@redhat.com> > > + * relocate.c (relocate_section): Sanity check section overlap against > + actually used ehsize, shentsize and phentsize.
I pushed this to master now.