From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] ELF program header
Date: Sun, 14 Oct 2007 13:57:27 +0200 [thread overview]
Message-ID: <20071014115727.GA16638@thorin> (raw)
In-Reply-To: <6EA40803-2CCB-42B2-A92D-E33804B93187@gmail.com>
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 /.)
next prev parent reply other threads:[~2007-10-14 11:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-12 16:19 [PATCH] ELF program header Robert Millan
2007-10-12 20:24 ` Andrei E. Warkentin
2007-10-14 11:57 ` Robert Millan [this message]
2007-10-12 22:03 ` Stefan Reinauer
2007-10-14 12:00 ` Robert Millan
2007-10-16 17:14 ` Marcin Kurek
2007-10-17 19:20 ` Stefan Reinauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071014115727.GA16638@thorin \
--to=rmh@aybabtu.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.