[evolution-data-server] Bug 737903 - [SMTP] Crash when authentication fails
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug 737903 - [SMTP] Crash when authentication fails
- Date: Thu, 9 Oct 2014 17:00:13 +0000 (UTC)
commit 70f3da635d3f085763c1e6a3fe7a96ce50d911fe
Author: Milan Crha <mcrha redhat com>
Date: Thu Oct 9 18:59:37 2014 +0200
Bug 737903 - [SMTP] Crash when authentication fails
camel/providers/smtp/camel-smtp-transport.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c
index 58dbaff..13c4b22 100644
--- a/camel/providers/smtp/camel-smtp-transport.c
+++ b/camel/providers/smtp/camel-smtp-transport.c
@@ -523,8 +523,8 @@ smtp_transport_authenticate_sync (CamelService *service,
"AUTH %s %s\r\n", mechanism, challenge);
g_free (challenge);
} else {
- cmdbuf = g_strdup_printf (
- "AUTH %s\r\n", mechanism);
+ g_object_unref (sasl);
+ return CAMEL_AUTHENTICATION_ERROR;
}
d (fprintf (stderr, "sending : %s", cmdbuf));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]