gcc 8 noticed that snprintf could have overrun them. It might be
better to reduce the sizes of buffers used for display names, etc.
Or ever better, use dynamically sized buffers.
/* Cache the username, fullname, and mailbox of the user */
static char username[BUFSIZ];
static char fullname[BUFSIZ];
-static char localmbox[BUFSIZ];
+static char localmbox[2*BUFSIZ+3];
/*
* MTS specific variables
replformataddr (char *orig, char *str)
{
int len;
- char baddr[BUFSIZ], error[BUFSIZ];
+ char baddr[BUFSIZ+6], error[BUFSIZ];
bool isgroup;
char *dst;
char *cp;