From: Alyssa Ross Date: Sun, 18 Aug 2019 10:07:17 +0000 (+0000) Subject: Increase length of attachment pipe command X-Git-Tag: 2019-10-25~100 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8be6a135ac13ec2ff0a07fc3331845055fecf984;p=neomutt Increase length of attachment pipe command This matches the length of the pipe command for messages, and is much less likely to be hit accidentally. --- diff --git a/recvattach.c b/recvattach.c index ecaebe14e..e82be9d76 100644 --- a/recvattach.c +++ b/recvattach.c @@ -871,7 +871,7 @@ void mutt_pipe_attachment_list(struct AttachCtx *actx, FILE *fp, bool tag, struct Body *top, bool filter) { struct State state = { 0 }; - char buf[128]; + char buf[PATH_MAX]; if (fp) filter = false; /* sanity check: we can't filter in the recv case yet */