mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 04:32:37 +01:00
test-runner: Bump alloca request
Otherwise we run out of bounds on the argv array.
This commit is contained in:
parent
7b45ad220d
commit
694a95ba9e
@ -308,7 +308,7 @@ static void start_qemu(void)
|
||||
testargs,
|
||||
getenv("PATH"));
|
||||
|
||||
argv = alloca(sizeof(qemu_argv) + sizeof(char *) * 5);
|
||||
argv = alloca(sizeof(qemu_argv) + sizeof(char *) * 7);
|
||||
memcpy(argv, qemu_argv, sizeof(qemu_argv));
|
||||
|
||||
pos = (sizeof(qemu_argv) / sizeof(char *)) - 1;
|
||||
|
Loading…
Reference in New Issue
Block a user