diff --git a/insmod.c b/insmod.c index e175a1c..484c544 100644 --- a/insmod.c +++ b/insmod.c @@ -54,6 +54,7 @@ main(int argc, char *argv[]) opts = malloc(plen); if (!opts) eprintf("malloc:"); + memset(opts, 0, plen); for (i = 0; i < argc; i++) { strcat(opts, argv[i]); if (i + 1 < argc)