[Commits] procmime.c 1.49.2.152 1.49.2.153

mones at claws-mail.org mones at claws-mail.org
Thu Oct 4 01:22:15 CEST 2012


Update of /home/claws-mail/claws/src
In directory srv:/tmp/cvs-serv5105/src

Modified Files:
      Tag: gtk2
	procmime.c 
Log Message:
2012-10-03 [mones]	3.8.1cvs82

	* src/procmime.c
		Fix bug #2743 'null pointer crash in procmime strchr'
		Patch by Michael Schwendt (from RedHat bug 862578)  

Index: procmime.c
===================================================================
RCS file: /home/claws-mail/claws/src/procmime.c,v
retrieving revision 1.49.2.152
retrieving revision 1.49.2.153
diff -u -d -r1.49.2.152 -r1.49.2.153
--- procmime.c	26 Sep 2012 12:40:13 -0000	1.49.2.152
+++ procmime.c	3 Oct 2012 23:22:13 -0000	1.49.2.153
@@ -1835,6 +1835,8 @@
 			continue;
 
 		charset = value;
+		if (charset == NULL)
+			continue;
 		lang = strchr(charset, '\'');
 		if (lang == NULL)
 			continue;



More information about the Commits mailing list