2008-09-28 Bean <bean123ch@gmail.com>

* fs/ntfs.c (grub_ntfs_iterate_dir): Fix a bug in the previous patch.
	Thanks to Christian Franke for finding this bug.
This commit is contained in:
bean 2008-09-28 03:35:49 +00:00
parent add6f17a17
commit 92274e85da
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-09-28 Bean <bean123ch@gmail.com>
* 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 <rmh@aybabtu.com>
* util/grub-mkdevicemap.c (make_device_map): Actually replace all

View file

@ -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)