bugGNU GRUB - Bugs: bug #10552, Multiboot example...

 
 

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

bug #10552: Multiboot example "kernel.c" incorrectly loops through modules

Submitted by:  Stefanus Du Toit <sdt>
Submitted on:  Fri 01 Oct 2004 09:47:29 PM UTC  
 
Category: DocumentationSeverity: Major
Priority: 5 - NormalItem Group: Non-software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 0.95, CVS
Release: NoneReproducibility: Every Time
Planned Release: None

Fri 01 Oct 2004 09:47:29 PM UTC, original submission:

I already sent this to bug-grub, but figured I should add it here too.

kernel.c in docs/ (and the corresponding texi file) has a small mistake: in the loop that's supposed to iterate over all the modules, sizeof(module_t) is added to mod. But mod is already a pointer to module_t, so an increment of one is the correct value.

Patch attached. Please apply this, it's pretty trivial and it's confused several students in a class I'm TAing.

Stefanus Du Toit <sdt>

 

Attached Files
file #1822:  grub-example.patch added by sdt (2KiB - application/octet-stream - Patch fixing this bug for Grub CVS)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 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
Sun 10 Oct 2004 10:48:58 PM UTCjthomasStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Fri 01 Oct 2004 09:47:29 PM UTCsdtAttached File-=>Added grub-example.patch, #1727

Back to the top


Powered by Savane 3.1-cleanup1