From: Andrei Borzenkov <arvidjaar@gmail.com>
To: grub-devel@gnu.org
Subject: Re: modules size in mkimage
Date: Wed, 4 Nov 2015 14:26:26 +0300 [thread overview]
Message-ID: <5639EB62.9050703@gmail.com> (raw)
In-Reply-To: <CAEaD8JOhE+zs4sgmfGnVxC3DBG5GmxW2mCn5C2=Wg+NFxtc+yQ@mail.gmail.com>
04.11.2015 14:21, Vladimir 'phcoder' Serbinenko пишет:
> Le 31 oct. 2015 8:02 AM, "Andrei Borzenkov" <arvidjaar@gmail.com> a écrit :
>>
>> mkimage sets module size to aligned value; later it is used to actually
> process it which /may/ lead to inconsistency (as any comparison is against
> stored aligned size, not actual module size).
>>
> Which inconsistency do you have in mind?
if (size < e->e_shoff + e->e_shentsize * e->e_shnum)
{
grub_error (GRUB_ERR_BAD_OS, "ELF sections outside core");
next prev parent reply other threads:[~2015-11-04 11:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-31 7:02 modules size in mkimage Andrei Borzenkov
2015-11-04 11:21 ` Vladimir 'phcoder' Serbinenko
2015-11-04 11:26 ` Andrei Borzenkov [this message]
2015-11-04 11:29 ` Vladimir 'phcoder' Serbinenko
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=5639EB62.9050703@gmail.com \
--to=arvidjaar@gmail.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.