bugGNU GRUB - Bugs: bug #9954, The memcheck function in char_io.c...


You are not allowed to post comments on this tracker with your current authentication level.

bug #9954: The memcheck function in char_io.c must use unsigned

Submitter:  None
Submitted:  Tue 10 Aug 2004 10:56:03 AM UTC
Votes:  100  
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Goswin von Brederlow
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  * None Release:  0.95+cvs20040624
Reproducibility:  None Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Sat 15 Dec 2007 01:33:03 PM UTC, comment #1: 

We've moved to GRUB 2 as a development platform. Please can you check if this bug still applies there, and if it does, reopen it?


Robert Millan <robertmh>
Project Administrator
Tue 10 Aug 2004 10:56:03 AM UTC, original submission:  


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.




(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #1641:  2g_limit.diff added by None (1KiB - application/octet-stream - Patch to fix boot failures with >2GB ram)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by robertmh (Posted a comment)

    There are 100 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-15 robertmh Open/ClosedOpen Closed
    2005-11-05 jbbernar Carbon-Copy- Added jbbernar
    2004-08-10 None Attached File- Added 2g_limit.diff, #1574

    Back to the top

    Powered by Savane 3.9