From: Rocco Rutte Date: Fri, 17 Apr 2009 10:47:41 +0000 (+0200) Subject: Enlarge buffer size for parsing mailcap files X-Git-Tag: neomutt-20160307~689 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=640f6435632bdf469ccd516510e41b07de8da384;p=neomutt Enlarge buffer size for parsing mailcap files We really need code for dynamic buffers which would solve a few other bugs, too. Closes #2205. --- diff --git a/attach.c b/attach.c index 9e99e9245..9290f9752 100644 --- 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;