* grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Do not byteswap

8 bit values.
This commit is contained in:
Anton Blanchard 2012-03-31 12:08:50 +02:00 committed by Vladimir 'phcoder' Serbinenko
parent 08fbf92ecb
commit 255818026e
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-03-31 Anton Blanchard <anton@samba.org>
* grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Do not byteswap
8 bit values.
2012-03-28 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-install.in: Fix nvram call for PreP.

View file

@ -620,7 +620,7 @@ grub_iso9660_iterate_dir (grub_fshelp_node_t dir,
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)