Index: cam_compile.c =================================================================== --- cam_compile.c (revision 24136) +++ cam_compile.c (revision 24137) @@ -163,6 +163,8 @@ code->op.plugin.argc = 2; /* [0] and [1] are reserved for the --cam argument */ code->op.plugin.argv = malloc(sizeof(char *) * (maxa+3)); + code->op.plugin.argv[0] = NULL; + code->op.plugin.argv[1] = NULL; if (code->op.plugin.argv == NULL) return 1; for(; curr != NULL; curr = next) {