[Commits] [SCM] claws branch, master, updated. 3.18.0-268-g620c95330

wwp at claws-mail.org wwp at claws-mail.org
Fri Oct 8 12:23:56 CET 2021


The branch, master has been updated
       via  620c9533038971903ad1965ecb63ab14ac5cbb8e (commit)
      from  8f5483331cd67666dfb17664e630d93f0f31d761 (commit)

Summary of changes:
 src/addressbook.c | 2 ++
 1 file changed, 2 insertions(+)


- Log -----------------------------------------------------------------
commit 620c9533038971903ad1965ecb63ab14ac5cbb8e
Author: wwp <subscript at free.fr>
Date:   Fri Oct 8 14:23:37 2021 +0200

    Fix CID 1491181: dereference null return value.

diff --git a/src/addressbook.c b/src/addressbook.c
index 7ee74f66f..ede2e4fe3 100644
--- a/src/addressbook.c
+++ b/src/addressbook.c
@@ -5789,6 +5789,8 @@ static gboolean addressbook_drag_motion_cb(GtkWidget      *widget,
 
 		if (node != NULL) {
 			AddressObject *obj = gtk_cmctree_node_get_row_data(GTK_CMCTREE(widget), node );
+			if (obj == NULL)
+				return FALSE;
 			if( obj->type == ADDR_ITEM_FOLDER 
 			|| obj->type == ADDR_ITEM_GROUP)
 				acceptable = TRUE;

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list