[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] multiboot2: set min address for mbi allocation to 0x1000
From: |
Daniel Kiper |
Subject: |
Re: [PATCH v2] multiboot2: set min address for mbi allocation to 0x1000 |
Date: |
Mon, 16 Dec 2019 11:54:18 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Mon, Dec 16, 2019 at 11:15:55AM +0100, Lukasz Hawrylko wrote:
> In some cases GRUB2 allocates multiboot2 structure at 0 address, that is
> a confusing behavior. Consumers of that structure can have internal
> NULL-checks
> that will throw an error when get a pointer to data allocated at address 0.
> To prevent that, define min address for mbi allocation in x86 and x86_64
> platforms.
>
> Signed-off-by: Lukasz Hawrylko <address@hidden>
> Reviewed-by: Daniel Kiper <address@hidden>
LGTM. If there are no objections I will commit it by the end of this week.
Thanks,
Daniel