[syslinux] [Fwd: SysLinux Bug]
H. Peter Anvin
hpa at zytor.com
Tue Oct 22 11:35:26 PDT 2002
This is Kevin's original message; forwarded here with his permission...
-------- Original Message --------
Subject: SysLinux Bug
Date: Tue, 22 Oct 2002 10:27:36 -0700
From: ktran at broadcom.com
To: hpa at zytor.com
CC: Kevin Tran <ktran at broadcom.com>
Hi Peter,
My name is Kevin Tran and I am a software developer at Broadcom
Corporation. Some of our customers found a problem where SysLinux
locks up when it tries to boot/install from the network via our
PXE code. I found that there is a bug in your code which corrupts
the UNDI code segment.
You used instruction "rep stosxx" to clear SysLinux's variables
when ES is still pointing to UNDI code segment. My fix
is denoted by [KTT].
File : pxelinux.asm
* Bug#1
; Wipe the F-key area
mov al,NULLFILE
mov di,FKeyName
mov cx,10*(1 << FILENAME_MAX_LG2)
[KTT] push es
[KTT] push ds
[KTT] pop es
rep stosb
[KTT] pop es
* Bug#2
mov di,Sockets
mov cx,(MAX_SOCKETS*tftp_port_t_size)/4
xor eax,eax
[KTT] push es
[KTT] push ds
[KTT] pop es
rep stosd
[KTT] pop es
Can you submit these changes to Linux community?
Thanks,
----------------------------------------------------------------
Name: Kevin T. Tran Broadcom Corporation
E-mail : ktran at broadcom.com Networking Business Unit
Phone : (949)585-6179 16215 Alton Parkway
Fax : (949)585-6024 Irvine, CA 92619
Web : www.broadcom.com
----------------------------------------------------------------
More information about the Syslinux
mailing list