From a27e84ce7b52f36fd4332f963d2ec62309985e0f Mon Sep 17 00:00:00 2001 From: marco_g Date: Sun, 30 Apr 2006 13:57:19 +0000 Subject: [PATCH] 2006-04-30 Marco Gerards * fs/hfsplus.c (grub_hfsplus_iterate_dir): Correctly calculate the size of the extents in a catalog file record. --- ChangeLog | 5 +++++ fs/hfsplus.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 513988444..872b53735 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-04-30 Marco Gerards + + * fs/hfsplus.c (grub_hfsplus_iterate_dir): Correctly calculate the + size of the extents in a catalog file record. + 2006-04-29 Marco Gerards * commands/configfile.c (grub_cmd_configfile): Execute the diff --git a/fs/hfsplus.c b/fs/hfsplus.c index 18aa965f6..1b2cf3914 100644 --- a/fs/hfsplus.c +++ b/fs/hfsplus.c @@ -761,7 +761,7 @@ grub_hfsplus_iterate_dir (grub_fshelp_node_t dir, node->data = dir->data; grub_memcpy (node->extents, fileinfo->data.extents, - sizeof (*node->extents)); + sizeof (node->extents)); node->size = grub_be_to_cpu64 (fileinfo->data.size); node->fileid = grub_be_to_cpu32 (fileinfo->fileid);