[PATCH] Avoid mapping past end of shared object (BZ #18685)
Siddhesh Poyarekar
siddhesh@redhat.com
Fri Jul 17 03:33:00 GMT 2015
On Thu, Jul 16, 2015 at 08:15:17PM -0700, H.J. Lu wrote:
> If I understand it correctly, ld.so crashes on an ELF file with segment headers
> where file offset is larger than the file itself. Isn't it the same
> as a corrupted
> ELF file with segment headers where file offset is larger than the file itself?
> I can create such a file with a binary editor.
Yes, which is the point of including such fixes IMO.
Siddhesh
More information about the Libc-alpha
mailing list