aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution
diff options
context:
space:
mode:
Diffstat (limited to 'my-evolution')
-rw-r--r--my-evolution/ChangeLog5
-rw-r--r--my-evolution/e-summary-rdf.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index 6db6d74c14..40d8d443c1 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,5 +1,10 @@
2002-06-26 Iain <iain@ximian.com>
+ * e-summary-rdf.c (layer_find_url): If w == NULL return. Fixes crash
+ if RDF has no link tags.
+
+2002-06-26 Iain <iain@ximian.com>
+
* Locations: Fix a typo and remove Latvia, cos I couldn't find the
correct code for it.
diff --git a/my-evolution/e-summary-rdf.c b/my-evolution/e-summary-rdf.c
index 9863b34a0c..8b019301e2 100644
--- a/my-evolution/e-summary-rdf.c
+++ b/my-evolution/e-summary-rdf.c
@@ -129,6 +129,10 @@ layer_find_url (xmlNodePtr node,
}
wb = w = g_malloc (3 * strlen (p));
+
+ if (w == NULL) {
+ return fail;
+ }
if (*r == ' ') r++; /* Fix UF bug */