From: David Levine Date: Sun, 22 Dec 2013 15:01:41 +0000 (-0600) Subject: Increased size of file command buffer in make_mime_composition_file_entry() X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/41eb9470878d9c58511738bea652d8f652fd2dab?ds=inline Increased size of file command buffer in make_mime_composition_file_entry() because it was a bit too small. --- diff --git a/uip/sendsbr.c b/uip/sendsbr.c index 73f15b89..ecaf3928 100644 --- a/uip/sendsbr.c +++ b/uip/sendsbr.c @@ -418,7 +418,7 @@ make_mime_composition_file_entry(char *file_name, int attachformat, { int binary; /* binary character found flag */ int c; /* current character */ - char cmd[PATH_MAX + 6]; /* file command buffer */ + char cmd[PATH_MAX + 8]; /* file command buffer */ char *content_type; /* mime content type */ FILE *fp; /* content and pipe file pointer */ struct node *np; /* context scan node pointer */