[Commits] [SCM] claws branch, master, updated. 3.11.1-58-gc0810db

Colin colin at claws-mail.org
Wed Jan 14 16:49:05 CET 2015


The branch, master has been updated
       via  c0810db8bfb77999ceae738e88c7ff11352bb366 (commit)
      from  002986de753fc0331f901620e3f09e521ad406ce (commit)

Summary of changes:
 src/prefs_account.c |    1 +
 src/wizard.c        |    1 +
 2 files changed, 2 insertions(+)


- Log -----------------------------------------------------------------
commit c0810db8bfb77999ceae738e88c7ff11352bb366
Author: Colin Leroy <colin at colino.net>
Date:   Wed Jan 14 16:46:21 2015 +0100

    Fix bug #3364, segfault in src/wizard.c: add missing return
    Fix bug #3365, segfault in src/prefs_account.c: add missing return

diff --git a/src/prefs_account.c b/src/prefs_account.c
index 934a1cf..b388c85 100644
--- a/src/prefs_account.c
+++ b/src/prefs_account.c
@@ -3848,6 +3848,7 @@ static void auto_configure_cb (GtkWidget *widget, gpointer data)
 		g_free(address);
 		gtk_label_set_text(GTK_LABEL(basic_page.auto_configure_lbl),
 			   _("Failed (wrong address)"));
+		return;
 	}
 	domain = strchr(address, '@') + 1;
 
diff --git a/src/wizard.c b/src/wizard.c
index 717bb9f..18505f4 100644
--- a/src/wizard.c
+++ b/src/wizard.c
@@ -1372,6 +1372,7 @@ static void auto_configure_cb (GtkWidget *widget, gpointer data)
 		g_free(address);
 		gtk_label_set_text(GTK_LABEL(wizard->auto_configure_lbl),
 			   _("Failed (wrong address)"));
+		return;
 	}
 	domain = strchr(address, '@') + 1;
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list