Steffen Winterfeldt
2009-Apr-22 15:12 UTC
[syslinux] [PATCH] ISOLINUX: set directory length correctly
Since searchdir() uses getfssec() to read the directory it needs to set file_bytesleft. Else it loops forever if you have a large directory (and/or rock ridge on). Steffen --- core/isolinux.asm | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/core/isolinux.asm b/core/isolinux.asm index c5545ba..62b1a9c 100644 --- a/core/isolinux.asm +++ b/core/isolinux.asm @@ -1400,6 +1400,8 @@ searchdir_iso: .not_rooted: mov eax,[si+dir_clust] mov [bx+file_left],eax + shl eax,SECTOR_SHIFT + mov [bx+file_bytesleft],eax mov eax,[si+dir_lba] mov [bx+file_sector],eax mov edx,[si+dir_len] -- 1.6.0.2
Geert Stappers
2009-Apr-26 16:55 UTC
[syslinux] [PATCH] ISOLINUX: set directory length correctly
Op 20090422 om 17:12 schreef Steffen Winterfeldt:> Since searchdir() uses getfssec() to read the directory it needs to set > file_bytesleft. Else it loops forever if you have a large directory (and/or > rock ridge on).For those who only follow this mailinglist: the patch is accepted in main git tree> SteffenDanke Cheers Geert Stappers