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

Submitter:  Stefanus Du Toit <sdt>
Submitted:  Fri 01 Oct 2004 09:47:29 PM UTC
   
 
Category:  Documentation Severity:  Major
Priority:  5 - Normal Item Group:  Non-software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  None
Release:  0.95, CVS Reproducibility:  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>

 

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

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

 

There are 0 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.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-10-10 jthomas StatusNone Fixed
    Open/ClosedOpen Closed
2004-10-01 sdt Attached File- Added grub-example.patch, #1727

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code