mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 14:59:34 +00:00
* grub-core/fs/ext2.c (grub_ext2_iterate_dir): Ignore entries with
direct.inode = 0.
This commit is contained in:
1 parent
e6da146746
commit
80662dbc5d
2 files changed
+6
-1
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2012-01-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||||
|
|
||||||
|
* grub-core/fs/ext2.c (grub_ext2_iterate_dir): Ignore entries with
|
||||||
|
direct.inode = 0.
|
||||||
|
|
||||||
2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/lib/posix_wrap/wctype.h (CHARCLASS_NAME_MAX): New define.
|
* grub-core/lib/posix_wrap/wctype.h (CHARCLASS_NAME_MAX): New define.
|
||||||
|
|||||||
+1
-1
@@ -685,7 +685,7 @@ grub_ext2_iterate_dir (grub_fshelp_node_t dir,
|
|||||||
if (dirent.direntlen == 0)
|
if (dirent.direntlen == 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (dirent.namelen != 0)
|
if (dirent.inode != 0 && dirent.namelen != 0)
|
||||||
{
|
{
|
||||||
char filename[dirent.namelen + 1];
|
char filename[dirent.namelen + 1];
|
||||||
struct grub_fshelp_node *fdiro;
|
struct grub_fshelp_node *fdiro;
|
||||||
|
|||||||
Reference in new issue
Block a user