From: "Yoshinori K. Okuji" <okuji@enbug.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: consolidate ELF header checks
Date: Fri, 11 Feb 2005 19:07:06 +0100 [thread overview]
Message-ID: <200502111907.06371.okuji@enbug.org> (raw)
In-Reply-To: <87fz03qa9t.fsf@marco.marco-g.com>
On Friday 11 February 2005 18:25, Marco Gerards wrote:
> I assume that means I can commit the patch. I'll do that on Sunday
> evening. Just tell me if there are still problems and I will wait
> with committing the patch.
One minor problem in his patch is this part:
@@ -497,12 +520,25 @@ grub_dl_load_core (void *addr, grub_size
grub_dl_t mod;
e = addr;
- if (! grub_arch_dl_check_header (e, size))
+ if (grub_dl_check_header (e, size))
{
grub_error (GRUB_ERR_BAD_MODULE, "invalid ELF header");
return 0;
}
As grub_dl_check_header is supposed to provide a more detailed error,
grub_dl_load_core should not set a new error here.
Once this is fixed, I have no objection.
Okuji
next prev parent reply other threads:[~2005-02-11 18:23 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-01 4:47 consolidate ELF header checks Guillem Jover
2005-02-01 19:26 ` Marco Gerards
2005-02-04 22:25 ` Marco Gerards
2005-02-04 22:40 ` Yoshinori K. Okuji
2005-02-05 14:10 ` Marco Gerards
2005-02-05 22:55 ` Yoshinori K. Okuji
2005-02-05 22:45 ` Guillem Jover
2005-02-06 11:02 ` Marco Gerards
2005-02-06 12:58 ` Yoshinori K. Okuji
2005-02-06 14:22 ` Marco Gerards
2005-02-06 21:28 ` Guillem Jover
2005-02-08 12:54 ` Yoshinori K. Okuji
2005-02-09 7:10 ` Guillem Jover
2005-02-10 19:21 ` Yoshinori K. Okuji
2005-02-11 17:25 ` Marco Gerards
2005-02-11 18:07 ` Yoshinori K. Okuji [this message]
2005-02-11 18:24 ` Marco Gerards
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=200502111907.06371.okuji@enbug.org \
--to=okuji@enbug.org \
--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.