* [PATCH] Big endian fix for iso9660
@ 2012-03-25 21:36 Anton Blanchard
2012-03-31 10:09 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 1 reply; 2+ messages in thread
From: Anton Blanchard @ 2012-03-25 21:36 UTC (permalink / raw)
To: grub-devel
2012-03-26 Anton Blanchard <anton@samba.org>
* 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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Big endian fix for iso9660
2012-03-25 21:36 [PATCH] Big endian fix for iso9660 Anton Blanchard
@ 2012-03-31 10:09 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 0 replies; 2+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2012-03-31 10:09 UTC (permalink / raw)
To: The development of GNU GRUB
[-- Attachment #1: Type: text/plain, Size: 1092 bytes --]
On 25.03.2012 23:36, Anton Blanchard wrote:
> 2012-03-26 Anton Blanchard <anton@samba.org>
>
> * 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
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-31 10:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-25 21:36 [PATCH] Big endian fix for iso9660 Anton Blanchard
2012-03-31 10:09 ` Vladimir 'φ-coder/phcoder' Serbinenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.