evolution r36929 - trunk/e-util
- From: mbarnes svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36929 - trunk/e-util
- Date: Mon, 22 Dec 2008 16:10:28 +0000 (UTC)
Author: mbarnes
Date: Mon Dec 22 16:10:28 2008
New Revision: 36929
URL: http://svn.gnome.org/viewvc/evolution?rev=36929&view=rev
Log:
2008-12-22 Matthew Barnes <mbarnes redhat com>
** Fixes bug #564860
* e-util/e-util-label.c (e_util_labels_parse):
Don't crash on malformed label strings.
Modified:
trunk/e-util/ChangeLog
trunk/e-util/e-util-labels.c
Modified: trunk/e-util/e-util-labels.c
==============================================================================
--- trunk/e-util/e-util-labels.c (original)
+++ trunk/e-util/e-util-labels.c Mon Dec 22 16:10:28 2008
@@ -71,6 +71,10 @@
char *color, *name, *tag;
name = buf = list->data;
color = strrchr (buf, ':');
+ if (color == NULL) {
+ g_free (buf);
+ continue;
+ }
*color++ = '\0';
tag = strchr (color, '|');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]