Fix ftpc crash
This commit is contained in:
3
drivers/usb/usbcdc/Tupfile
Normal file
3
drivers/usb/usbcdc/Tupfile
Normal file
@@ -0,0 +1,3 @@
|
||||
if tup.getconfig("NO_FASM") ~= "" then return end
|
||||
ROOT = "../../.."
|
||||
tup.rule("usbcdc.asm", "fasm %f %o " .. tup.getconfig("PESTRIP_CMD") .. tup.getconfig("KPACK_CMD"), "%B.sys")
|
@@ -470,10 +470,14 @@ gui: ;//////////////////////////////////////////////////////////////////////////
|
||||
dec edx
|
||||
jnz @b
|
||||
|
||||
inc ecx
|
||||
lea esi, [edi-1]
|
||||
lea edi, [node_entry2+4]
|
||||
@@:
|
||||
movsb
|
||||
dec ecx
|
||||
; check if the file name is incomplete
|
||||
jz .store_last_entry
|
||||
cmp word[esi], 0x0a0d ; end of entry
|
||||
jne @b
|
||||
mov byte[edi], 0
|
||||
|
Reference in New Issue
Block a user