[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #10552] Multiboot example "kernel.c" incorrectly loops through mod

From: Jason Thomas
Subject: [bugs #10552] Multiboot example "kernel.c" incorrectly loops through modules
Date: Sun, 10 Oct 2004 18:56:20 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040917 Firefox/0.9.3

This mail is an automated notification from the bugs tracker
 of the project: GNU GRUB.

[bugs #10552] Latest Modifications:

Changes by: 
                Jason Thomas <address@hidden>
                Sun 10/10/2004 at 22:48 (Australia/Sydney)

            What     | Removed                   | Added
          Resolution | None                      | Fixed
              Status | Open                      | Closed

[bugs #10552] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10552>
Project: GNU GRUB
Submitted by: Stefanus Du Toit
On: Fri 10/01/2004 at 21:47

Category:  Documentation
Severity:  Major
Priority:  5 - Normal
Item Group:  Non-software Error
Resolution:  Fixed
Privacy:  Public
Assigned to:  None
Originator Name:  
Originator Email:  
Status:  Closed
Release:  0.95, CVS
Reproducibility:  Every Time
Planned Release:  

Summary:  Multiboot example "kernel.c" incorrectly loops through modules

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.

File Attachments

Date: Fri 10/01/2004 at 21:47  Name: grub-example.patch  Size: 1.89KB   By: sdt
Patch fixing this bug for Grub CVS

For detailed info, follow this link:

  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]