[Commits] [SCM] claws branch, master, updated. 3.18.0-299-g29bdb8f76

wwp at claws-mail.org wwp at claws-mail.org
Tue Dec 7 10:33:29 CET 2021


The branch, master has been updated
       via  29bdb8f76d2bbb4f3f72659327bb1d53f420465f (commit)
      from  7edd292d6c795756b668eaec6f54030d6e4091a5 (commit)

Summary of changes:
 src/plugins/smime/smime.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


- Log -----------------------------------------------------------------
commit 29bdb8f76d2bbb4f3f72659327bb1d53f420465f
Author: wwp <subscript at free.fr>
Date:   Tue Dec 7 10:32:35 2021 +0100

    Fix a crash in case of invalid crypto engine (gpgme_op_verify failed).

diff --git a/src/plugins/smime/smime.c b/src/plugins/smime/smime.c
index e920936ae..a56cc2206 100644
--- a/src/plugins/smime/smime.c
+++ b/src/plugins/smime/smime.c
@@ -374,7 +374,7 @@ static gint check_pkcs7_mime_sig(MimeInfo *mimeinfo,
 	GTask *task;
 	PKCS7MimeTaskData *task_data;
 	SigCheckTaskResult *task_result;
-	GError *error;
+	GError *error = NULL;
 	gboolean unref_cancellable = FALSE;
 
 	debug_print("Checking pkcs7-mime signature\n");
@@ -452,9 +452,9 @@ static gint check_pkcs7_mime_sig(MimeInfo *mimeinfo,
 	}
 
 	if (task_result == NULL) {
-		debug_print("sig check task propagated NULL task:%p GError: domain:%s code:%d message:\"%s\"\n",
+		debug_print("sig check task propagated NULL task: %p GError: domain: %s code: %d message: \"%s\"\n",
 			task, g_quark_to_string(error->domain), error->code, error->message);
-                g_object_unref(task);
+		g_object_unref(task);
 		g_error_free(error);
 		return -1;
 	}

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list