[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-329-gc6fa3ed5e

wwp at claws-mail.org wwp at claws-mail.org
Fri Oct 8 12:20:54 CET 2021


The branch, gtk3 has been updated
       via  c6fa3ed5efcf7b738f2141539be3285c40afe964 (commit)
      from  6ec00336640722361e30415df927f1c7022a41b8 (commit)

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


- Log -----------------------------------------------------------------
commit c6fa3ed5efcf7b738f2141539be3285c40afe964
Author: wwp <subscript at free.fr>
Date:   Fri Oct 8 14:20:14 2021 +0200

    Fix CID 1491360: dereference null return value.

diff --git a/src/folderview.c b/src/folderview.c
index 8fd2b5598..c9f94e297 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -3175,7 +3175,7 @@ static void folderview_drag_received_cb(GtkWidget        *widget,
 			item = gtk_cmctree_node_get_row_data(GTK_CMCTREE(widget), node);
 			src_item = folderview->summaryview->folder_item;
 
-			if (item->no_select) {
+			if (item && item->no_select) {
 				alertpanel_error(_("The destination folder can only be used to "
 						   "store subfolders."));
 				return;

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list