[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Big endian fix for iso9660
From: |
Anton Blanchard |
Subject: |
[PATCH] Big endian fix for iso9660 |
Date: |
Mon, 26 Mar 2012 08:36:06 +1100 |
2012-03-26 Anton Blanchard <address@hidden>
* grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Do not byteswap
8 bit values.
Index: grub/grub-core/fs/iso9660.c
===================================================================
--- grub.orig/grub-core/fs/iso9660.c 2012-03-09 11:22:11.198004000 +1100
+++ grub/grub-core/fs/iso9660.c 2012-03-26 08:30:18.281488042 +1100
@@ -620,7 +620,7 @@ grub_iso9660_iterate_dir (grub_fshelp_no
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)
- [PATCH] Big endian fix for iso9660,
Anton Blanchard <=