From 4dcb3ba1a9c7bf1de44fa9d2efa8dd76638a1a1b Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Sat, 20 Apr 2019 15:43:59 -0700 Subject: [PATCH] Revert "Fix truncation of long filenames in attachments." This reverts commit f476d0aecd6f88db5291427fced21a8e834ca181. The commit allowed the generation of illegal length header lines. A correct fix needs to implement parameter continuations. I will work on that, but in case I don't get it in before 1.12, preserve the hard truncation. --- sendlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sendlib.c b/sendlib.c index 0bf0b194..4acb6469 100644 --- a/sendlib.c +++ b/sendlib.c @@ -294,7 +294,7 @@ static void encode_8bit (FGETCONV *fc, FILE *fout, int istext) int mutt_write_mime_header (BODY *a, FILE *f) { PARAMETER *p; - char buffer[HUGE_STRING]; + char buffer[STRING]; char *t; char *fn; int len; -- 2.40.0