[Commits] [SCM] claws branch, master, updated. 3.18.0-267-g8f5483331

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


The branch, master has been updated
       via  8f5483331cd67666dfb17664e630d93f0f31d761 (commit)
      from  3a0ac9efa8f8696a924480bcfb34e28bc5bcae7a (commit)

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


- Log -----------------------------------------------------------------
commit 8f5483331cd67666dfb17664e630d93f0f31d761
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 103614a1a..3f4058e10 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -3185,7 +3185,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