|
From: | Andrei Borzenkov |
Subject: | Re: modules size in mkimage |
Date: | Wed, 4 Nov 2015 14:26:26 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
04.11.2015 14:21, Vladimir 'phcoder' Serbinenko пишет:
Le 31 oct. 2015 8:02 AM, "Andrei Borzenkov" <address@hidden> a écrit :mkimage sets module size to aligned value; later it is used to actuallyprocess 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");
[Prev in Thread] | Current Thread | [Next in Thread] |