mutt (1.5.21-2) UNRELEASED; urgency=low
+ [ Christoph Berg ]
* debian/patches: features/imap_fast_trash: Support purging of messages.
- -- Christoph Berg <myon@debian.org> Wed, 06 Oct 2010 14:13:53 +0200
+ [ Antonio Radici ]
+ * debian/patches:
+ + upstream/578087-header-strchr.patch: prevent from segfaulting on malformed
+ messages (Closes: 578087)
+
+ -- Antonio Radici <antonio@dyne.org> Sat, 01 Jan 2011 12:56:29 +0000
mutt (1.5.21-1) experimental; urgency=low
upstream/528233-readonly-open.patch
upstream/228671-pipe-mime.patch
upstream/383769-score-match.patch
+upstream/578087-header-strchr.patch
upstream/path_max
--- /dev/null
+This fixes a segfault that can happen on a malformed message; patch comes from
+upstream http://bugs.mutt.org/3483
+
+--- a/sendlib.c
++++ b/sendlib.c
+@@ -1799,7 +1799,7 @@
+ else
+ {
+ t = strchr (start, ':');
+- if (t > end)
++ if (!t || t > end)
+ {
+ dprint (1, (debugfile, "mwoh: warning: header not in "
+ "'key: value' format!\n"));