bug-grub
[Top][All Lists]
Advanced

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

Re: Bug in the Multiboot specification example OS


From: Stefanus Du Toit
Subject: Re: Bug in the Multiboot specification example OS
Date: Sun, 10 Oct 2004 12:56:08 -0400
User-agent: Mutt/1.5.6+20040722i

On Sun, Oct 10, 2004 at 06:30:29PM +0200, Richard Braun wrote:
> I found a bug in the kernel provided as an example with the multiboot
> specification :
> 
>            for (i = 0, mod = (module_t *) mbi->mods_addr;
>                 i < mbi->mods_count;
>                 i++, mod += sizeof (module_t))
> 
> This is the for instruction which finds module properties. The problem is
> that mod is a module_t structure, so it should be mod++.

Note this is the same as #10552:
http://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=10552

Hope this tiny patch gets applied soon..

-- 
Stefanus Du Toit <address@hidden>, <address@hidden>
  Computer Graphics Lab, University of Waterloo
  My e-mail may be flaky over the next little while. If you're having
  trouble getting through to me, e-mail address@hidden




reply via email to

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