grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] abort when core.img is too big


From: Marco Gerards
Subject: Re: [PATCH] abort when core.img is too big
Date: Mon, 21 Jan 2008 16:05:04 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Robert Millan <address@hidden> writes:

> With the addition of memdisk, it is too easy for user to create an image
> big enough that would corrupt upper memory (starting with vga region).  This
> happens at roughly ~600 kiB memdisk size.
>
> This patch adds a check in grub-mkimage to prevent this.  I did also take
> the opportunity to reuse the upper memory macro to avoid hardcoding its
> address for VGA stuff.
>
> Comments?

This makes sense to me.

--
Marco





reply via email to

[Prev in Thread] Current Thread [Next in Thread]