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 authentification level.

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

Submitted by:  None
Submitted on:  Tue 10 Aug 2004 10:56:03 AM UTC  
Votes:  100  
 
Category: BootingSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: Goswin von Brederlow
Originator Email: -unavailable-Open/Closed: Closed
Release: 0.95+cvs20040624Release: None
Reproducibility: NonePlanned Release: None

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>
Project 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
file #1641:  2g_limit.diff added by None (1kB - 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
  • -unavailable- added by robertmh (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 100 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 15 Dec 2007 01:33:03 PM UTCrobertmhOpen/ClosedOpen=>Closed
    Sat 05 Nov 2005 05:40:43 PM UTCjbbernarCarbon-Copy-=>Added jbbernar
    Tue 10 Aug 2004 10:56:03 AM UTCNoneAttached File-=>Added 2g_limit.diff, #1574

    Back to the top


    Powered by Savane 3.1-cleanup