bug-grub
[Top][All Lists]
Advanced

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

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


From: anonymous
Subject: [bugs #10552] Multiboot example "kernel.c" incorrectly loops through modules
Date: Tue, 11 Jan 2005 11:00:58 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

This is an automated notification sent by Savannah.
It relates to:
                bugs #10552, project GNU GRUB

==============================================================================
 OVERVIEW of bugs #10552:
==============================================================================

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10552>

                 Summary: Multiboot example "kernel.c" incorrectly loops
through modules
                 Project: GNU GRUB
            Submitted by: sdt
            Submitted on: Sex 01-10-2004 em 21:47
                Category: Documentation
                Severity: Major
                Priority: 5 - Normal
              Item Group: Non-software Error
                  Status: Fixed
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Closed
                 Release: 0.95, CVS
         Reproducibility: Every Time
         Planned Release: 

    _______________________________________________________


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: Sex 01-10-2004 em 21:47  Name: grub-example.patch  Size: 1,89KB   By:
sdt
Patch fixing this bug for Grub CVS
<http://savannah.gnu.org/bugs/download.php?item_id=10552&item_file_id=1727>

==============================================================================

This item URL is:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10552>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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