* debian/paches:
+ mutt-patched/sidebar: added a closedir() so the fds will not be starved
(Closes: 620854)
+ + upstream/620854-pop3-segfault.patch: prevent segfault when
+ $message_cachedir is set and a pop3 mailbox is open (Closes: 620854)
-- Antonio Radici <antonio@dyne.org> Mon, 11 Apr 2011 16:23:35 +0100
upstream/603288-split-fetches.patch
upstream/537061-dont-recode-saved-attachments.patch
upstream/608706-fix-spelling-errors.patch
+upstream/620854-pop3-segfault.patch
upstream/path_max
--- /dev/null
+Fix a segfault that happens when $message_cachedir is set and a POP3 mailbox is
+being opened, patch fetched from upstream bug http://bugs.mutt.org/3457
+
+--- a/muttlib.c
++++ b/muttlib.c
+@@ -1962,6 +1962,7 @@
+ {
+ char *p = safe_strdup (src);
+ int rc = mutt_convert_string (&p, Charset, "utf-8", 0);
+- strfcpy (dest, rc == 0 ? p : src, dlen);
++ /* `src' may be NULL, such as when called from the pop3 driver. */
++ strfcpy (dest, (rc == 0) ? NONULL(p) : NONULL(src), dlen);
+ FREE (&p);
+ }