From: marco_g Date: Sun, 30 Apr 2006 13:57:19 +0000 (+0000) Subject: 2006-04-30 Marco Gerards X-Git-Tag: 1.98~1979 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a27e84ce7b52f36fd4332f963d2ec62309985e0f;p=thirdparty%2Fgrub.git 2006-04-30 Marco Gerards * fs/hfsplus.c (grub_hfsplus_iterate_dir): Correctly calculate the size of the extents in a catalog file record. --- 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);