Patch: Fix off-by-one at command.c command_create_f_to_o()

This commit is contained in:
0x221E
2026-01-26 18:51:04 +01:00
parent d68fc7db47
commit 3b6873ebad

View File

@@ -34,7 +34,7 @@ Command command_create_f_to_o(CommandOptions* co)
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;