$NetBSD: patch-ca,v 1.1 2012/10/10 09:48:45 drochner Exp $

see http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2743

--- src/procmime.c.orig	2012-06-27 09:05:22.000000000 +0000
+++ src/procmime.c
@@ -1753,6 +1753,8 @@ static void parse_parameters(const gchar
 			continue;
 
 		charset = value;
+		if (charset == NULL)
+			continue;
 		lang = strchr(charset, '\'');
 		if (lang == NULL)
 			continue;
