Displaying 1 result from an estimated 1 matches for "pxe_udp_read_pkt".
2004 Mar 01
0
[PATCH] pxelinux corrupts ipappend-ed paramaters...
...s
+ xor [NextSocket],ah
+%endif
;
; Now attempt to get the BOOTP/DHCP packet that brought us life (and an IP
; address). This lives in the DHCPACK packet (query info 2).
@@ -1785,6 +1835,10 @@
.recv_ok: pop dx ; <F>
pop cx ; <E>
+ mov ax,[si+tftp_remoteport]
+ cmp ax,[pxe_udp_read_pkt.rport]
+ jne .wait_data ; data from orphaned tftpd
+.port_ok:
cmp word [pxe_udp_read_pkt.buffersize],byte 4
jb .wait_data ; Bad size for a DATA packet
@@ -2034,6 +2088,8 @@
mov cx,4
.genchar:
push eax
+ cmp al,10
+ jb .lt10
cmp al,100
jb .lt100
@@ -2044,9 +2100,6 @@...