From 640f6435632bdf469ccd516510e41b07de8da384 Mon Sep 17 00:00:00 2001 From: Rocco Rutte Date: Fri, 17 Apr 2009 12:47:41 +0200 Subject: [PATCH] Enlarge buffer size for parsing mailcap files We really need code for dynamic buffers which would solve a few other bugs, too. Closes #2205. --- attach.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0