fix: strdup: add 1 to \0

This commit is contained in:
starnakin 2024-09-11 20:40:52 +02:00
parent ebf0b0e442
commit e3b2eb0852

View File

@ -11,6 +11,7 @@ section .text
mov rbx, rdi
mov rdi, rax
add rdi, 1
call malloc wrt ..plt