]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Do not byteswap
authorAnton Blanchard <anton@samba.org>
Sat, 31 Mar 2012 10:08:50 +0000 (12:08 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 31 Mar 2012 10:08:50 +0000 (12:08 +0200)
8 bit values.

ChangeLog
grub-core/fs/iso9660.c

index f8041d05ebd310d090d402c2f4a36b9ad80ad37e..bda8fb46febef9d6f2050ba5255db37fe9776b05 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-31  Anton Blanchard  <anton@samba.org>
+
+       * grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Do not byteswap
+       8 bit values.
+
 2012-03-28  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * util/grub-install.in: Fix nvram call for PreP.
index 2cff864ff3c63f3a2497ba7d4ecd96144f85789c..394fe44868d806fa781ab2d1472cae3b0b4413f8 100644 (file)
@@ -620,7 +620,7 @@ grub_iso9660_iterate_dir (grub_fshelp_node_t dir,
          unsigned int pos = 1;
 
          /* The symlink is not stored as a POSIX symlink, translate it.  */
-         while (pos + sizeof (*entry) < grub_le_to_cpu32 (entry->len))
+         while (pos + sizeof (*entry) < entry->len)
            {
              /* The current position is the `Component Flag'.  */
              switch (entry->data[pos] & 30)