On 21.07.2011 00:28, Samuel Thibault wrote: > The attached patch fixes it. Shall I commit it to upstream grub2? > Go ahead > Samuel > patch > > > === modified file 'grub-core/fs/ext2.c' > --- grub-core/fs/ext2.c 2011-04-11 21:01:51 +0000 > +++ grub-core/fs/ext2.c 2011-07-20 22:20:43 +0000 > @@ -689,7 +689,7 @@ grub_ext2_iterate_dir (grub_fshelp_node_ > if (dirent.direntlen == 0) > return 0; > > - if (dirent.namelen != 0) > + if (dirent.inode != 0 && dirent.namelen != 0) > { > char filename[dirent.namelen + 1]; > struct grub_fshelp_node *fdiro; >
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature