On 25.03.2012 23:36, Anton Blanchard wrote:
> 2012-03-26  Anton Blanchard  <[email protected]>
>
>       * 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
> [email protected]
> https://lists.gnu.org/mailman/listinfo/grub-devel
>


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to