2004-05-14 Rodrigo Moya <rodrigo@ximian.com>
* libedata-cal/e-cal-backend-sexp.c (e_cal_backend_sexp_func_make_time):
added extra check for function arguments.
2004-05-14 Rodrigo Moya <rodrigo@ximian.com>
+ * libedata-cal/e-cal-backend-sexp.c (e_cal_backend_sexp_func_make_time):
+ added extra check for function arguments.
+
* libedata-cal/e-cal-backend-cache.c (e_cal_backend_cache_put_timezone):
added missing implementation from recurreces-work-branch.
return NULL;
}
str = argv[0]->value.string;
+ if (!str || !*str) {
+ e_sexp_fatal_error (esexp, _("\"%s\" expects the first "
+ "argument to be a string"),
+ "make-time");
+ return NULL;
+ }
t = time_from_isodate (str);
if (t == -1) {