1
Fix a segfault that happens when $message_cachedir is set and a POP3 mailbox is
2
being opened, patch fetched from upstream bug http://bugs.mutt.org/3457
8
char *p = safe_strdup (src);
9
int rc = mutt_convert_string (&p, Charset, "utf-8", 0);
10
- strfcpy (dest, rc == 0 ? p : src, dlen);
11
+ /* `src' may be NULL, such as when called from the pop3 driver. */
12
+ strfcpy (dest, (rc == 0) ? NONULL(p) : NONULL(src), dlen);