dovecot-2.2: director: Fix to previous change - mail_host_dup() ...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Oct 19 11:05:35 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/5876ca2d63fb
changeset: 19311:5876ca2d63fb
user: Timo Sirainen <tss at iki.fi>
date: Mon Oct 19 14:04:46 2015 +0300
description:
director: Fix to previous change - mail_host_dup() wasn't strdup()ing hostname.
This could have caused a crash at deinit.
diffstat:
src/director/mail-host.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 7f718c840aff -r 5876ca2d63fb src/director/mail-host.c
--- a/src/director/mail-host.c Mon Oct 19 13:49:54 2015 +0300
+++ b/src/director/mail-host.c Mon Oct 19 14:04:46 2015 +0300
@@ -483,6 +483,7 @@
dest = i_new(struct mail_host, 1);
*dest = *src;
dest->tag = i_strdup(src->tag);
+ dest->hostname = i_strdup(src->hostname);
return dest;
}
More information about the dovecot-cvs
mailing list