From: Timo Sirainen Date: Mon, 25 Aug 2003 03:02:49 +0000 (+0300) Subject: crashfix X-Git-Tag: 1.1.alpha1~4369 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5173fb5d8f2533a3e3fa06fb4c1e20773cd34a93;p=thirdparty%2Fdovecot%2Fcore.git crashfix --HG-- branch : HEAD --- diff --git a/src/master/mail-process.c b/src/master/mail-process.c index b51d96f179..0329d62f52 100644 --- a/src/master/mail-process.c +++ b/src/master/mail-process.c @@ -156,7 +156,7 @@ int create_mail_process(struct login_group *group, int socket, home_dir = data + reply->home_idx; chroot_dir = data + reply->chroot_idx; - if (*chroot_dir == '\0') + if (*chroot_dir == '\0' && set->mail_chroot != NULL) chroot_dir = set->mail_chroot; if (*chroot_dir != '\0' && !validate_chroot(set, chroot_dir)) {