diff options
| author | hpa <hpa> | 2002-10-24 05:46:28 +0000 |
|---|---|---|
| committer | hpa <hpa> | 2002-10-24 05:46:28 +0000 |
| commit | d684e72385132bd87e46e5a8fdf591da9ee8ba2c (patch) | |
| tree | 9a252be668047a8d5eeae7af2119a7608963f178 | |
| parent | de9e52085ecde8375bbc1e4859f086ec2bb28f5c (diff) | |
| download | syslinux-d684e72385132bd87e46e5a8fdf591da9ee8ba2c.tar.gz | |
Fix bug which causes ISOLINUX to choke on initrds > 128 MB.
| -rw-r--r-- | NEWS | 4 | ||||
| -rw-r--r-- | isolinux.asm | 7 |
2 files changed, 8 insertions, 3 deletions
@@ -14,8 +14,12 @@ Changes in 2.00: chunks of the UNDI code segment! Thanks to Kevin Tran for finding this bug. * ISOLINUX: Fix a bug related to slashes in pathnames. + * ISOLINUX: Fix a bug in handling initrds over 128 MB. * ALL: Make the <Ctrl-V> key print out the version; this is to help debugging. + * Add a small script, mkdiskimage, to create a DOS-formatted + hard disk image using mtools. This may be useful in + conjunction with MEMDISK. Changes in 1.76: * ISOLINUX: Remove code no longer used which caused hangs on diff --git a/isolinux.asm b/isolinux.asm index 7966f9ea..9e41add4 100644 --- a/isolinux.asm +++ b/isolinux.asm @@ -1424,7 +1424,7 @@ unmangle_name: call strcpy ; On entry: ; ES:BX -> Buffer ; SI -> File pointer -; CX -> Cluster count; 0FFFFh = until end of file +; CX -> Cluster count ; On exit: ; SI -> File pointer (or 0 on EOF) ; CF = 1 -> Hit EOF @@ -1436,9 +1436,10 @@ getfssec: push cs pop ds ; DS <- CS - cmp cx,[si+file_left] + movzx ecx,cx + cmp ecx,[si+file_left] jna .ok_size - mov cx,[si+file_left] + mov ecx,[si+file_left] .ok_size: mov bp,cx |
