[Commits] vcal_folder.c 1.1.2.1 1.1.2.2

colin at claws-mail.org colin at claws-mail.org
Fri Mar 15 10:33:29 CET 2013


Update of /home/claws-mail/claws/src/plugins/vcalendar
In directory srv:/tmp/cvs-serv24969/src/plugins/vcalendar

Modified Files:
      Tag: gtk2
	vcal_folder.c 
Log Message:
2013-03-15 [colin]	3.9.0cvs126

	* src/plugins/fancy/fancy_viewer.c
		Fix attached images URIs generation
	* src/plugins/vcalendar/vcal_folder.c
		Fix crash on NULL uri

Index: vcal_folder.c
===================================================================
RCS file: /home/claws-mail/claws/src/plugins/vcalendar/Attic/vcal_folder.c,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- vcal_folder.c	13 Feb 2013 20:50:28 -0000	1.1.2.1
+++ vcal_folder.c	15 Mar 2013 09:33:27 -0000	1.1.2.2
@@ -1988,6 +1988,9 @@
 	if (folder->klass != vcal_folder_get_class())
 		return FALSE;
 
+	if (uri == NULL)
+		return FALSE;
+
 	if (!strncmp(uri, "webcal://", 9)) {
 		tmp = g_strconcat("http://", uri+9, NULL);
 	} else {



More information about the Commits mailing list