[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ELF program header

From: Robert Millan
Subject: Re: [PATCH] ELF program header
Date: Sun, 14 Oct 2007 13:57:27 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Fri, Oct 12, 2007 at 03:24:06PM -0500, Andrei E. Warkentin wrote:
> I don't think the ELF TIS says anything about location of PHDRs.  
> That's the whole point of EHDR - so that the location, size of each  
> entry, and count can be variable. The only invalid case would be for  
> phoff or phoff + phentcount * phentsize to exceed end of file offset.

But what do we know about the segments?  Could we be accidentaly overwriting
the first segment with our phdr?  It didn't happen in any of my tests, but
I'm not sure if it's still possible.

Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]