Patch: Fix off-by-one at command.c command_create_f_to_o()
This commit is contained in:
@@ -34,7 +34,7 @@ Command command_create_f_to_o(CommandOptions* co)
|
|||||||
|
|
||||||
for (size_t i = 0; i < pr.compiler_flags_count; i++)
|
for (size_t i = 0; i < pr.compiler_flags_count; i++)
|
||||||
{
|
{
|
||||||
args_buf[i + 5] = pr.compiler_flags_buf[i].buf;
|
args_buf[i + 6] = pr.compiler_flags_buf[i].buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
args_buf[len_args] = NULL;
|
args_buf[len_args] = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user