]> granicus.if.org Git - neomutt/commitdiff
Enlarge buffer size for parsing mailcap files
authorRocco Rutte <pdmef@gmx.net>
Fri, 17 Apr 2009 10:47:41 +0000 (12:47 +0200)
committerRocco Rutte <pdmef@gmx.net>
Fri, 17 Apr 2009 10:47:41 +0000 (12:47 +0200)
We really need code for dynamic buffers which would solve a few other
bugs, too. Closes #2205.

attach.c

index 9e99e9245cd78a5bf7bd3facaeb0696877c94b29..9290f97526ab3c197aa89ad5c1c0ec81559736dd 100644 (file)
--- a/attach.c
+++ b/attach.c
@@ -416,7 +416,7 @@ int mutt_view_attachment (FILE *fp, BODY *a, int flag, HEADER *hdr,
   int use_pipe = 0;
   int use_pager = 1;
   char type[STRING];
-  char command[STRING];
+  char command[HUGE_STRING];
   char descrip[STRING];
   char *fname;
   rfc1524_entry *entry = NULL;