evolution-data-server r9863 - in trunk: . libedataserver
- From: msuman svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r9863 - in trunk: . libedataserver
- Date: Mon, 5 Jan 2009 03:23:30 +0000 (UTC)
Author: msuman
Date: Mon Jan 5 03:23:30 2009
New Revision: 9863
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9863&view=rev
Log:
Patch from Thomas <tmstaedt t-mittelstaedt de>: Fix for bug #564541 - NULL check an argument before using its members.
Modified:
trunk/ChangeLog
trunk/libedataserver/e-sexp.c
Modified: trunk/libedataserver/e-sexp.c
==============================================================================
--- trunk/libedataserver/e-sexp.c (original)
+++ trunk/libedataserver/e-sexp.c Mon Jan 5 03:23:30 2009
@@ -706,7 +706,7 @@
r->value.time = t->value.time;
break;
case ESEXP_TERM_IFUNC:
- if (t->value.func.sym->f.ifunc)
+ if (t->value.func.sym && t->value.func.sym->f.ifunc)
r = t->value.func.sym->f.ifunc(f, t->value.func.termcount, t->value.func.terms, t->value.func.sym->data);
break;
case ESEXP_TERM_FUNC:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]