X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/afee8ed17a56617618fb7f963b111d7cf0fb56e7..a1829d0ea1260a9e361191054d84242a9b7f0f15:/sbr/arglist.c diff --git a/sbr/arglist.c b/sbr/arglist.c index 8749a4b9..aa143eee 100644 --- a/sbr/arglist.c +++ b/sbr/arglist.c @@ -52,7 +52,7 @@ argsplit(char *command, char **file, int *argp) } } - argvarray = (char **) mh_xmalloc((sizeof(char **) * MAXARGS)); + argvarray = (char **) mh_xmalloc((sizeof(char **) * (MAXARGS + 5))); /* * The simple case - no spaces or shell metacharacters