bug-grub
[Top][All Lists]
Advanced

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

[bugs #9954] The memcheck function in char_io.c must use unsigned


From: anonymous
Subject: [bugs #9954] The memcheck function in char_io.c must use unsigned
Date: Tue, 10 Aug 2004 23:43:08 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.6) Gecko/20040413 Galeon/1.3.13 (Debian package 1.3.13-2)

This mail is an automated notification from the bugs tracker
 of the project: GNU GRUB.




/**************************************************************************/
[bugs #9954] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9954>
Project: GNU GRUB
Submitted by: 0
On: Tue 08/10/04 at 10:56

Category:  Booting
Severity:  Major
Priority:  5 - Normal
Item Group:  Software Error
Resolution:  None
Assigned to:  None
Originator Name:  Goswin von Brederlow
Originator Email:  address@hidden
Status:  Open
Release:  0.95+cvs20040624
Reproducibility:  None
Planned Release:  


Summary:  The memcheck function in char_io.c must use unsigned

Original Submission:  Hi,

in char_io.c the memcheck function uses "int addr" to store addresses and does 
bounds checking on it. On systems with over 2G of ram the "int addr" will be 
negative and the bounds checking will fail producing an "ERR_WONT_FIT".

The attached patch changes the addr and len argument to unsigned long long as 
well as the two helper functions.

MfG
Goswin






File Attachments
-------------------

-------------------------------------------------------
Date: Tue 08/10/04 at 10:56  Name: 2g_limit.diff  Size: 1.25KB   By: None
Patch to fix boot failures with &gt;2GB ram
http://savannah.gnu.org/bugs/download.php?item_id=9954&amp;item_file_id=1574






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9954>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

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