Big endian fix for iso9660
PATCH 1/1 Big endian fix for iso9660
2012-03-26 Anton Blanchard <[email protected]>
* grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Do not byteswap 8 bit values.
grub-core/fs/iso9660.c +1 -1
@@ -620,7 +620,7 @@ grub_iso9660_iterate_dir (grub_fshelp_nounsigned 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)
Quoted 4 lines · Anton Blanchard
2012-03-26 Anton Blanchard <[email protected]>
*
grub-core/fs/iso9660.c(grub_iso9660_iterate_dir): Do not byteswap 8 bit values.
Applied, thanks.
Quoted 19 lines
Index:
grub/grub-core/fs/iso9660.c
===================================================================grub-core/fs/iso9660.c +1
-1@@ -620,7 +620,7 @@ grub_iso9660_iterate_dir (grub_fshelp_nounsigned 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)_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko