fix: strdup: add 1 to \0
This commit is contained in:
@ -11,6 +11,7 @@ section .text
|
||||
|
||||
mov rbx, rdi
|
||||
mov rdi, rax
|
||||
add rdi, 1
|
||||
|
||||
call malloc wrt ..plt
|
||||
|
||||
|
Reference in New Issue
Block a user