]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2006-04-30 Marco Gerards <marco@gnu.org>
authormarco_g <marco_g@localhost>
Sun, 30 Apr 2006 13:57:19 +0000 (13:57 +0000)
committermarco_g <marco_g@localhost>
Sun, 30 Apr 2006 13:57:19 +0000 (13:57 +0000)
* fs/hfsplus.c (grub_hfsplus_iterate_dir): Correctly calculate the
size of the extents in a catalog file record.

ChangeLog
fs/hfsplus.c

index 51398844457c2815e935f4d99e1d6e9a3c5fcee1..872b5373572942511d939b2d210816dee8cc60af 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-04-30  Marco Gerards  <marco@gnu.org>
+
+       * fs/hfsplus.c (grub_hfsplus_iterate_dir): Correctly calculate the
+       size of the extents in a catalog file record.
+
 2006-04-29  Marco Gerards  <marco@gnu.org>
 
        * commands/configfile.c (grub_cmd_configfile): Execute the
index 18aa965f6f32371ceb5f9850e0c7cd88220ff583..1b2cf3914ed1dd82096911fbafb6f7176e11face 100644 (file)
@@ -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);