Permalink
Browse files

Fixed possible segfault in the evolution plugin

  • Loading branch information...
1 parent 7219ac9 commit 0914a6cf03a4864d2c43436892935e634360c2de @epienbroek committed Aug 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mn-evolution-server.gob
View
2 src/mn-evolution-server.gob
@@ -288,7 +288,7 @@ class MN:Evolution:Server from G:Object
CamelMessageInfo *info = summary->pdata[i];
#endif
- if ((camel_message_info_flags(info) & CAMEL_MESSAGE_SEEN) == 0)
+ if (info && (camel_message_info_flags(info) & CAMEL_MESSAGE_SEEN) == 0)
g_ptr_array_add(*ret, self_camel_message_info_to_dbus_struct(info));
}

0 comments on commit 0914a6c

Please sign in to comment.