[Commits] [SCM] claws branch, master, updated. 3.18.0-235-g6dea1d0af

wwp at claws-mail.org wwp at claws-mail.org
Mon Oct 4 10:46:39 CEST 2021


The branch, master has been updated
       via  6dea1d0af5a9539b0eaed5a71184416df7258f1a (commit)
      from  a62826429fc4b5190dcb3669a9d5422889f31aea (commit)

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


- Log -----------------------------------------------------------------
commit 6dea1d0af5a9539b0eaed5a71184416df7258f1a
Author: wwp <subscript at free.fr>
Date:   Mon Oct 4 10:46:22 2021 +0200

    Fix CID 1491391: use after free.

diff --git a/src/inc.c b/src/inc.c
index 83dd3e7b2..7e69caa1b 100644
--- a/src/inc.c
+++ b/src/inc.c
@@ -681,9 +681,9 @@ static gint inc_start(IncProgressDialog *inc_dialog)
 
 		if (pop3_session->pass == NULL) {
 			SET_PIXMAP_AND_TEXT(okpix, _("Cancelled"));
-			inc_session_destroy(session);
 			inc_dialog->queue_list =
 				g_list_remove(inc_dialog->queue_list, session);
+			inc_session_destroy(session);
 			continue;
 		}
 

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list