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