dovecot-2.2: lib-master: struct master_service_connection.name m...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Aug 24 15:07:33 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/acfe208a656d
changeset: 19001:acfe208a656d
user: Timo Sirainen <tss at iki.fi>
date: Mon Aug 24 18:06:42 2015 +0300
description:
lib-master: struct master_service_connection.name must never be NULL, use "" instead.
Fixes crash at least in auth process when there are inet_listeners without
names.
diffstat:
src/lib-master/master-service.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r de8af4d857d3 -r acfe208a656d src/lib-master/master-service.c
--- a/src/lib-master/master-service.c Mon Aug 24 15:33:36 2015 +0300
+++ b/src/lib-master/master-service.c Mon Aug 24 18:06:42 2015 +0300
@@ -937,7 +937,7 @@
l->fd = -1;
}
conn.ssl = l->ssl;
- conn.name = l->name;
+ conn.name = master_service_get_socket_name(service, conn.listen_fd);
(void)net_getsockname(conn.fd, &conn.local_ip, &conn.local_port);
conn.real_remote_ip = conn.remote_ip;
More information about the dovecot-cvs
mailing list