Blame SOURCES/mutt-1.5.21-writehead.patch

e35c5e
diff -up mutt-1.5.21/sendlib.c.writehead mutt-1.5.21/sendlib.c
e35c5e
--- mutt-1.5.21/sendlib.c.writehead	2012-06-25 14:41:34.681483226 +0200
e35c5e
+++ mutt-1.5.21/sendlib.c	2012-06-25 14:41:44.485408610 +0200
e35c5e
@@ -1799,7 +1799,7 @@ static int write_one_header (FILE *fp, i
e35c5e
   else
e35c5e
   {
e35c5e
     t = strchr (start, ':');
e35c5e
-    if (t > end)
e35c5e
+    if (t == NULL || t > end)
e35c5e
     {
e35c5e
       dprint (1, (debugfile, "mwoh: warning: header not in "
e35c5e
 		  "'key: value' format!\n"));