[evolution-ews] Fix a crash on local cache update of a GAL from OAB
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Fix a crash on local cache update of a GAL from OAB
- Date: Mon, 3 Jul 2017 11:41:09 +0000 (UTC)
commit f5433a05bbe46506ae8b04e874dbd4dc26867951
Author: Milan Crha <mcrha redhat com>
Date: Mon Jul 3 13:39:18 2017 +0200
Fix a crash on local cache update of a GAL from OAB
An overlook causing crash due to dereferencing already freed memory.
src/addressbook/e-book-backend-ews.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-ews.c b/src/addressbook/e-book-backend-ews.c
index 205c9e4..56a42ec 100644
--- a/src/addressbook/e-book-backend-ews.c
+++ b/src/addressbook/e-book-backend-ews.c
@@ -2877,7 +2877,7 @@ ebb_ews_get_changes_sync (EBookMetaBackend *meta_backend,
guint32 delta_size = 0;
for (link = full_l; link; link = g_slist_next (link)) {
- EwsOALDetails *det = full_l->data;
+ EwsOALDetails *det = link->data;
/* Throw away anything older than we already have */
if (det->seq <= sequence) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]