Add null terminator to dest in strcpy()

This commit is contained in:
2025-06-23 15:32:40 +02:00
parent e92afdb199
commit 0ee1142b75

View File

@ -36,6 +36,7 @@ strcpy:
inc rdi
inc rcx
jmp .loop
mov byte [rdi], 0x0
.0f:
cmp rcx, 0