[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-382-gba1f90ef6
wwp at claws-mail.org
wwp at claws-mail.org
Tue Dec 7 10:35:38 CET 2021
The branch, gtk3 has been updated
via ba1f90ef670e85ac3c090dc9df92b6f045a219c7 (commit)
from 4697baf0231fb2055e8dd8d724f2e6c98301e190 (commit)
Summary of changes:
src/plugins/smime/smime.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit ba1f90ef670e85ac3c090dc9df92b6f045a219c7
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