[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] abort when core.img is too big
From: |
Robert Millan |
Subject: |
[PATCH] abort when core.img is too big |
Date: |
Mon, 21 Jan 2008 15:44:58 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
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?
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)
size_limit.diff
Description: Text Data
- [PATCH] abort when core.img is too big,
Robert Millan <=