diff options
author | Iain Holmes <iain@src.gnome.org> | 2002-06-27 01:15:54 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2002-06-27 01:15:54 +0800 |
commit | fb89bd8441ca4c5f482412dad07e778a117d2eb8 (patch) | |
tree | d9070965e9dc2f85797cf87bbc5bd473203828db /my-evolution | |
parent | 8d54d8cfbdb83326104f8c783c5d6546ada712bb (diff) | |
download | gsoc2013-evolution-fb89bd8441ca4c5f482412dad07e778a117d2eb8.tar.gz gsoc2013-evolution-fb89bd8441ca4c5f482412dad07e778a117d2eb8.tar.zst gsoc2013-evolution-fb89bd8441ca4c5f482412dad07e778a117d2eb8.zip |
Fix crash on "broken" rdfs
svn path=/trunk/; revision=17293
Diffstat (limited to 'my-evolution')
-rw-r--r-- | my-evolution/ChangeLog | 5 | ||||
-rw-r--r-- | my-evolution/e-summary-rdf.c | 4 |
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 */ |