[Commits] [SCM] claws branch, master, updated. 3.13.2-85-g0970a98

ticho at claws-mail.org ticho at claws-mail.org
Thu Mar 24 08:45:50 CET 2016


The branch, master has been updated
       via  0970a983844b1bb9616821383f0a4d55a59dd6bf (commit)
      from  d643604a31ead1f9767fbde96e8a24b13b80def8 (commit)

Summary of changes:
 src/password.c |    2 --
 1 file changed, 2 deletions(-)


- Log -----------------------------------------------------------------
commit 0970a983844b1bb9616821383f0a4d55a59dd6bf
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Thu Mar 24 08:43:58 2016 +0100

    Fix crash in rare corner case in password en/decryption.

diff --git a/src/password.c b/src/password.c
index 826d316..e849cab 100644
--- a/src/password.c
+++ b/src/password.c
@@ -295,7 +295,6 @@ gchar *password_encrypt_gnutls(const gchar *password,
 		debug_print("Could not acquire a CSP handle.\n");
 #endif
 		g_free(key.data);
-		g_free(iv.data);
 		return NULL;
 	}
 
@@ -468,7 +467,6 @@ gchar *password_decrypt_gnutls(const gchar *password,
 		debug_print("Could not acquire a CSP handle.\n");
 #endif
 		g_free(key.data);
-		g_free(iv.data);
 		g_strfreev(tokens);
 		return NULL;
 	}

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list