[Commits] [SCM] claws branch, gtk2, updated. 3.19.0-66-g475dfe8b1

mones at claws-mail.org mones at claws-mail.org
Mon Sep 12 08:43:23 UTC 2022


The branch, gtk2 has been updated
       via  475dfe8b10aa5dd7f2e3aac761d5d251b79f5b21 (commit)
      from  8f979c308683be9caeef846cfe34a3fc9a968b89 (commit)

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


- Log -----------------------------------------------------------------
commit 475dfe8b10aa5dd7f2e3aac761d5d251b79f5b21
Author: Ricardo Mones <ricardo at mones.org>
Date:   Mon Sep 12 10:42:32 2022 +0200

    Fix unchecked access to pointer

diff --git a/src/addressadd.c b/src/addressadd.c
index 6e9f7d09c..deb6c4553 100644
--- a/src/addressadd.c
+++ b/src/addressadd.c
@@ -374,7 +374,7 @@ static void addressadd_load_folder( GtkTreeIter *parent_iter,
 	gchar *name;
 	FolderInfo *fi;
 
-	list = parentFolder->listFolder;
+	list = parentFolder != NULL? parentFolder->listFolder: NULL;
 	while( list ) {
 		folder = list->data;
 		name = g_strdup( ADDRITEM_NAME(folder) );

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list