[Commits] [SCM] claws branch, master, updated. 3.16.0-94-ge51a6cf
wwp at claws-mail.org
wwp at claws-mail.org
Sat Mar 17 21:29:04 CET 2018
The branch, master has been updated
via e51a6cfaf7e19475fcd93aa69d02031db44c0ba5 (commit)
from 24d959c7d5c33eb49c138191ca1523c863e0b7d2 (commit)
Summary of changes:
src/plugins/vcalendar/vcal_manager.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit e51a6cfaf7e19475fcd93aa69d02031db44c0ba5
Author: wwp <wwp at free.fr>
Date: Sat Mar 17 21:28:00 2018 +0100
Fix possible access to uninitilized folder pointer (CID 1402515),
add a warning if vcal folder's not found.
diff --git a/src/plugins/vcalendar/vcal_manager.c b/src/plugins/vcalendar/vcal_manager.c
index 251adc9..8b9a9b5 100644
--- a/src/plugins/vcalendar/vcal_manager.c
+++ b/src/plugins/vcalendar/vcal_manager.c
@@ -1451,10 +1451,11 @@ static gboolean vcal_manager_send (PrefsAccount *account,
g_free(msgpath);
folder = folder_find_from_name ("vCalendar", vcal_folder_get_class());
- if (folder)
+ if (folder) {
folder_item_scan(folder->inbox);
-
- vcalviewer_reload(folder->inbox);
+ vcalviewer_reload(folder->inbox);
+ } else
+ g_warning("couldn't find vCalendar folder %s", vcal_folder_get_class());
return TRUE;
}
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list