]> diplodocus.org Git - nmh/blobdiff - sbr/arglist.c
Make burst(1) be able to burst MIME-formatted messages with message/rfc822
[nmh] / sbr / arglist.c
index 8749a4b9c4f8595b5924aec22e2aae05957d9f96..aa143eeeff2ad96700574bd7b88fce20241d4dc3 100644 (file)
@@ -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