mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-25 04:29:10 +02:00
human68k: also fill the entire args buffer with zeros, for proper last argument termination
This commit is contained in:
parent
3cd2cbcda8
commit
5c93f3e271
@ -159,7 +159,7 @@ begin
|
|||||||
argl:=1;
|
argl:=1;
|
||||||
|
|
||||||
args:=getmem(argl+1);
|
args:=getmem(argl+1);
|
||||||
fillchar(args^,argl,#0);
|
fillchar(args^,argl+1,#0);
|
||||||
argsp:=args;
|
argsp:=args;
|
||||||
|
|
||||||
while p^ <> #0 do
|
while p^ <> #0 do
|
||||||
|
Loading…
Reference in New Issue
Block a user