aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
author3 <NotZed@Ximian.com>2001-10-04 08:58:44 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-04 08:58:44 +0800
commit7f5f136bf3254ca6417c0b8fb1452dab295b1a60 (patch)
tree876da3e8ce54a2430bb68704f47ead4c5e5469ea /mail
parentf4742f289219942139b54514eaa8ed00dc71971a (diff)
downloadgsoc2013-evolution-7f5f136bf3254ca6417c0b8fb1452dab295b1a60.tar
gsoc2013-evolution-7f5f136bf3254ca6417c0b8fb1452dab295b1a60.tar.gz
gsoc2013-evolution-7f5f136bf3254ca6417c0b8fb1452dab295b1a60.tar.bz2
gsoc2013-evolution-7f5f136bf3254ca6417c0b8fb1452dab295b1a60.tar.lz
gsoc2013-evolution-7f5f136bf3254ca6417c0b8fb1452dab295b1a60.tar.xz
gsoc2013-evolution-7f5f136bf3254ca6417c0b8fb1452dab295b1a60.tar.zst
gsoc2013-evolution-7f5f136bf3254ca6417c0b8fb1452dab295b1a60.zip
Only build destination data if we have destination != NULL. Fixes crash of
2001-10-03 <NotZed@Ximian.com> * mail-send-recv.c (build_dialogue): Only build destination data if we have destination != NULL. Fixes crash of bug #10835. svn path=/trunk/; revision=13400
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-send-recv.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index de4f716089..b733e5131a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2001-10-03 <NotZed@Ximian.com>
+ * mail-send-recv.c (build_dialogue): Only build destination data
+ if we have destination != NULL. Fixes crash of bug #10835.
+
* folder-browser.c (folder_browser_config_search): Set 'to' ->
'recipient' data for search object. #6199.
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index d758bd6dca..62f9c789c6 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -358,7 +358,7 @@ build_dialogue (GSList *sources, CamelFolder *outbox, const char *destination)
row++;
gtk_widget_show_all (GTK_WIDGET (table));
- if (outbox) {
+ if (outbox && destination) {
info = g_hash_table_lookup (data->active, destination);
if (info == NULL) {
info = g_malloc0 (sizeof (*info));