dovecot-2.2: lib-http: Recent DNS change caused lib-http to acce...

dovecot at dovecot.org dovecot at dovecot.org
Sat Oct 26 19:00:03 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/519b15c7618a
changeset: 16885:519b15c7618a
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Oct 26 18:59:03 2013 +0300
description:
lib-http: Recent DNS change caused lib-http to access uninitialized memory.

diffstat:

 src/lib-http/http-client-host.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d66b4b1b343a -r 519b15c7618a src/lib-http/http-client-host.c
--- a/src/lib-http/http-client-host.c	Sat Oct 26 18:31:16 2013 +0300
+++ b/src/lib-http/http-client-host.c	Sat Oct 26 18:59:03 2013 +0300
@@ -403,7 +403,7 @@
 			"Performing asynchronous DNS lookup");
 		(void)dns_client_lookup(client->set.dns_client, host->name,
 			http_client_host_dns_callback, host, &host->dns_lookup);
-	} else if (dns_set.dns_client_socket_path != NULL) {
+	} else if (client->set.dns_client_socket_path != NULL) {
 		http_client_host_debug(host,
 			"Performing asynchronous DNS lookup");
 		memset(&dns_set, 0, sizeof(dns_set));


More information about the dovecot-cvs mailing list