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

Discussion

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?

Thanks

Robert Millan <robertmh>
Group administrator
Tue 10 Aug 2004 10:56:03 AM UTC, 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

Anonymous

 

Attached Files

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

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    History

    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.16-2753.
    Corresponding source code