[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-269-g06019f2e4

wwp at claws-mail.org wwp at claws-mail.org
Thu Sep 30 11:10:12 CEST 2021


The branch, gtk3 has been updated
       via  06019f2e459a6405fa4ab375d6a3260e23398472 (commit)
      from  48010781a596ca1fd8acb1cbfbcf0cd56a98e866 (commit)

Summary of changes:
 src/plugins/archive/libarchive_archive.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 06019f2e459a6405fa4ab375d6a3260e23398472
Author: wwp <subscript at free.fr>
Date:   Thu Sep 30 11:09:35 2021 +0200

    Fix CID 1492295: explicit null dereferenced (due to previous commit).

diff --git a/src/plugins/archive/libarchive_archive.c b/src/plugins/archive/libarchive_archive.c
index 807006d2b..0a86eded1 100644
--- a/src/plugins/archive/libarchive_archive.c
+++ b/src/plugins/archive/libarchive_archive.c
@@ -100,8 +100,10 @@ void archive_free_archived_files() {
     GSList* l = NULL;
    
     for (l = msg_trash_list; l; l = g_slist_next(l)) {
-        gchar *name = folder_item_get_name(mt->item);
+        gchar *name;
+
         mt = (MsgTrash *) l->data;
+        name = folder_item_get_name(mt->item);
         debug_print("Trashing messages in folder: %s\n", 
                 name);
         g_free(name);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list