[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-330-g699bae842

wwp at claws-mail.org wwp at claws-mail.org
Fri Oct 8 12:24:00 CET 2021


The branch, gtk3 has been updated
       via  699bae8428d97cfbb64cd38b05940ad2cfc771df (commit)
      from  c6fa3ed5efcf7b738f2141539be3285c40afe964 (commit)

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


- Log -----------------------------------------------------------------
commit 699bae8428d97cfbb64cd38b05940ad2cfc771df
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 af091651e..b3d73fdfa 100644
--- a/src/addressbook.c
+++ b/src/addressbook.c
@@ -5785,6 +5785,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