grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] xfs bug fix


From: Bean
Subject: Re: [PATCH] xfs bug fix
Date: Sun, 19 Jul 2009 17:04:38 +0800

On Sun, Jul 19, 2009 at 12:40 PM, Pavel Roskin<address@hidden> wrote:
> Quoting Pavel Roskin <address@hidden>:
>
>> ==11029== Conditional jump or move depends on uninitialised value(s)
>> ==11029==    at 0x403CAE: grub_disk_adjust_range (disk.c:373)
>> ==11029==    by 0x403D6C: grub_disk_read (disk.c:392)
>> ==11029==    by 0x41CB8C: grub_xfs_read_inode (xfs.c:222)
>
> P.S. It looks like struct grub_xfs_inode hardcodes size 256, so every use of
> sizeof (struct grub_xfs_inode) is suspicious.  Likewise, struct
> grub_fshelp_node and struct grub_xfs_data should not be used blindly with
> sizeof.

Hi,

Oh nice catch, it's indeed a serious problem, this patch should fix it.

-- 
Bean

Attachment: xfs_2.diff
Description: Text Data


reply via email to

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