talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

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

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

Diffstat:
Msrc/password.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git 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; }