commit cddb66f7e068f7e0e86f3645ea56ade4f5cdc039 parent 4229233250d315bf866119e904d52aaec2210a62 Author: Friedel Schön <[email protected]> Date: Sat, 27 May 2023 14:31:16 +0200 fixing modules-load args overflow Diffstat:
M | src/exec/modules-load.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/exec/modules-load.c b/src/exec/modules-load.c @@ -113,7 +113,7 @@ int main(int argc, char** argv) { printf("%s\n", modules[i]); } - char* args[modules_size + argc - 1 + 2]; + char* args[modules_size + argc - 1 + 2 + 1]; int argi = 0; args[argi++] = "modprobe";