dovecot-2.0: lib-storage: Fixed /chroot/./home style chrooting f...

dovecot at dovecot.org dovecot at dovecot.org
Thu Jun 30 08:00:17 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/1d78d2a4e8d1
changeset: 12863:1d78d2a4e8d1
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jun 30 08:00:07 2011 +0300
description:
lib-storage: Fixed /chroot/./home style chrooting from userdb home.

diffstat:

 src/lib-storage/mail-storage-service.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r ed0688858e59 -r 1d78d2a4e8d1 src/lib-storage/mail-storage-service.c
--- a/src/lib-storage/mail-storage-service.c	Thu Jun 30 07:26:01 2011 +0300
+++ b/src/lib-storage/mail-storage-service.c	Thu Jun 30 08:00:07 2011 +0300
@@ -221,7 +221,7 @@
 	}
 
 	if (home != NULL)
-		set_keyval(ctx, user, "mail_home", reply->home);
+		set_keyval(ctx, user, "mail_home", home);
 
 	if (chroot != NULL) {
 		if (!validate_chroot(user->user_set, chroot)) {


More information about the dovecot-cvs mailing list