forked from pool/bijiben
Dominique Leuenberger
a7189b624f
Now building for both arches, yay OBS-URL: https://build.opensuse.org/request/show/504031 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/bijiben?expand=0&rev=68
35 lines
931 B
Diff
35 lines
931 B
Diff
From 1649d3a3d3bae9972ea89f08f78aea5b93cb96d6 Mon Sep 17 00:00:00 2001
|
|
From: Milan Crha <mcrha@redhat.com>
|
|
Date: Sun, 11 Jun 2017 15:46:20 -0300
|
|
Subject: memo-provider: Crash opening memo
|
|
|
|
Application is crashing when trying to open a memo from the memo list.
|
|
|
|
Code is not checking for null when processing start, last modified and
|
|
created dates.
|
|
|
|
This patch fixes that.
|
|
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=782998
|
|
---
|
|
src/libbiji/provider/biji-memo-provider.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/src/libbiji/provider/biji-memo-provider.c b/src/libbiji/provider/biji-memo-provider.c
|
|
index fa0540f..975cd11 100644
|
|
--- a/src/libbiji/provider/biji-memo-provider.c
|
|
+++ b/src/libbiji/provider/biji-memo-provider.c
|
|
@@ -75,6 +75,9 @@ time_val_from_icaltime (icaltimetype *itt, glong *result)
|
|
GTimeVal t;
|
|
gchar *iso;
|
|
|
|
+ if (!itt)
|
|
+ return FALSE;
|
|
+
|
|
t.tv_sec = 0;
|
|
t.tv_usec = 0;
|
|
|
|
--
|
|
cgit v0.12
|
|
|