From 92274e85da78a3f4d859046c0cbf18bf328eddc1 Mon Sep 17 00:00:00 2001 From: bean Date: Sun, 28 Sep 2008 03:35:49 +0000 Subject: [PATCH] 2008-09-28 Bean * fs/ntfs.c (grub_ntfs_iterate_dir): Fix a bug in the previous patch. Thanks to Christian Franke for finding this bug. --- ChangeLog | 5 +++++ fs/ntfs.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d615f65eb..c9a38983e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-09-28 Bean + + * fs/ntfs.c (grub_ntfs_iterate_dir): Fix a bug in the previous patch. + Thanks to Christian Franke for finding this bug. + 2008-09-25 Robert Millan * util/grub-mkdevicemap.c (make_device_map): Actually replace all diff --git a/fs/ntfs.c b/fs/ntfs.c index e0e50f164..22477c532 100644 --- a/fs/ntfs.c +++ b/fs/ntfs.c @@ -700,7 +700,7 @@ grub_ntfs_iterate_dir (grub_fshelp_node_t dir, int is_resident = (cur_pos[8] == 0); bitmap_len = ((is_resident) ? u32at (cur_pos, 0x10) : - (cur_pos, 0x28)); + u32at (cur_pos, 0x28)); bmp = grub_malloc (bitmap_len); if (bmp == NULL)