Skip to content
Permalink
Browse files

executor: fix max number of syscall args

De-hardcode max number (wrong) of syscall args.
  • Loading branch information...
dvyukov committed Dec 26, 2018
1 parent 586a19e commit 82c9e6774f52bf4e299c7d5a5dff7530e104715a
Showing with 1 addition and 1 deletion.
  1. +1 −1 executor/executor.cc
@@ -662,7 +662,7 @@ void execute_one()
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);

0 comments on commit 82c9e67

Please sign in to comment.
You can’t perform that action at this time.