[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Big endian fix for iso9660
From: |
Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: |
Re: [PATCH] Big endian fix for iso9660 |
Date: |
Sat, 31 Mar 2012 12:09:41 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120329 Icedove/10.0.3 |
On 25.03.2012 23:36, Anton Blanchard wrote:
> 2012-03-26 Anton Blanchard <address@hidden>
>
> * grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Do not byteswap
> 8 bit values.
Applied, thanks.
> 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)
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature