[Commits] [SCM] claws branch, master, updated. 3.13.0-75-g4c14c38

mones at claws-mail.org mones at claws-mail.org
Tue Nov 17 11:01:20 CET 2015


The branch, master has been updated
       via  4c14c38f44d17da42f7817ecf04b3c1d6d6ccf5c (commit)
      from  8f65fc9f8be8d30ba67d8f4a64256e8645aa0dc1 (commit)

Summary of changes:
 src/gtk/prefswindow.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 4c14c38f44d17da42f7817ecf04b3c1d6d6ccf5c
Author: Ricardo Mones <ricardo at mones.org>
Date:   Tue Nov 17 10:59:51 2015 +0100

    Fix bug #3565 by reverting “fix bug 3559, 'Opening preferences window causes out of bounds read'”
    
    This reverts commit 0314464dd5c5e4e49f7fb5835e0316726267506e.

diff --git a/src/gtk/prefswindow.c b/src/gtk/prefswindow.c
index 3b9d3d6..f6c840b 100644
--- a/src/gtk/prefswindow.c
+++ b/src/gtk/prefswindow.c
@@ -320,7 +320,7 @@ static void prefswindow_build_tree(GtkWidget *tree_view, GSList *prefs_pages,
 			gtk_tree_model_foreach(GTK_TREE_MODEL(store), 
 					       (GtkTreeModelForeachFunc) find_node_by_name,
 					       &find_name);
-			if (i > 0 && find_name.found && page->path[i] != page->path[i-1]) {
+			if (find_name.found && page->path[i] != page->path[i-1]) {
 				node = find_name.node;
 				gtk_tree_model_get(GTK_TREE_MODEL(store), &node,
 						   PREFS_PAGE_DATA, &prefs_node,

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list