Add null terminator to dest in strcpy()
This commit is contained in:
@ -36,6 +36,7 @@ strcpy:
|
||||
inc rdi
|
||||
inc rcx
|
||||
jmp .loop
|
||||
mov byte [rdi], 0x0
|
||||
|
||||
.0f:
|
||||
cmp rcx, 0
|
||||
|
Reference in New Issue
Block a user