j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: mcayland Date: Mon May 24 22:55:21 2010 New Revision: 777 URL: http://tracker.coreboot.org/trac/openbios/changeset/777
Log: Fix RR alignment bug in the grubfs iso9660 driver which prevented CD directory entries from being read correctly.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk
Modified: trunk/openbios-devel/fs/grubfs/fsys_iso9660.c
Modified: trunk/openbios-devel/fs/grubfs/fsys_iso9660.c ============================================================================== --- trunk/openbios-devel/fs/grubfs/fsys_iso9660.c Mon May 24 16:20:17 2010 (r776) +++ trunk/openbios-devel/fs/grubfs/fsys_iso9660.c Mon May 24 22:55:21 2010 (r777) @@ -173,8 +173,8 @@ rr_ptr.ptr = ((char *)idr + idr->name_len.ENDIAN + sizeof(struct iso_directory_record) - sizeof(idr->name)); - if (rr_ptr.i & 1) - rr_ptr.i++, rr_len--; + if (rr_len & 1) + rr_ptr.ptr++, rr_len--; ce_ptr = NULL; rr_flag = RR_FLAG_NM | RR_FLAG_PX;