[syslinux] Nasty Bug (BIOS?).

H. Peter Anvin hpa at zytor.com
Thu Aug 18 11:31:48 PDT 2005


Geert Stappers wrote:
> 
> Nice report, thank you.
> 
> Below is a translation (attempt) into a unified diff,
> I hope I understood the report well enough
> 
> 
> $ diff -burN syslinux-3.10-pre8-untouched/ syslinux-3.10-pre8-modified/
> diff -burN syslinux-3.10-pre8-untouched/ldlinux.asm
> syslinux-3.10-pre8-modified/ldlinux.asm
> --- syslinux-3.10-pre8-untouched/ldlinux.asm    2005-08-09 07:23:54.000000000 +0200
> +++ syslinux-3.10-pre8-modified/ldlinux.asm     2005-08-18 19:35:50.622201936 +0200
> @@ -654,7 +654,7 @@
>                 dec cx
>                 jz .chunk_ready
>                 inc edx                         ; Next linear sector
> -               cmp [esi],edx                   ; Does it match
> +               cmp [si],edx                    ; Does it match
>                 jnz .chunk_ready                ; If not, this is it
>                 add esi,4                       ; If so, add sector to chunk
>                 jmp short .make_chunk
> 

"add esi,4" should be "add si,4" as well.  Don't worry about it; I 
already have it written up and will push it out as syslinux-3.10-pre10 
in a few minutes.

	-hpa




More information about the Syslinux mailing list