mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-27 13:20:34 +00:00
executor: fix max number of syscall args
De-hardcode max number (wrong) of syscall args.
This commit is contained in:
parent
586a19e7ec
commit
82c9e6774f
@ -662,7 +662,7 @@ retry:
|
||||
uint64 args[kMaxArgs] = {};
|
||||
for (uint64 i = 0; i < num_args; i++)
|
||||
args[i] = read_arg(&input_pos);
|
||||
for (uint64 i = num_args; i < 6; i++)
|
||||
for (uint64 i = num_args; i < kMaxArgs; i++)
|
||||
args[i] = 0;
|
||||
thread_t* th = schedule_call(call_index++, call_num, colliding, copyout_index,
|
||||
num_args, args, input_pos);
|
||||
|
Loading…
Reference in New Issue
Block a user