dovecot-2.2: lib-storage: mail_user_var_expand_table() may not h...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Aug 24 09:57:03 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/39710cec820b
changeset: 18991:39710cec820b
user: Timo Sirainen <tss at iki.fi>
date: Mon Aug 24 12:56:07 2015 +0300
description:
lib-storage: mail_user_var_expand_table() may not have returned %{auth_username} correctly
diffstat:
src/lib-storage/mail-user.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r cd2c95d82d4c -r 39710cec820b src/lib-storage/mail-user.c
--- a/src/lib-storage/mail-user.c Mon Aug 24 12:14:40 2015 +0300
+++ b/src/lib-storage/mail-user.c Mon Aug 24 12:56:07 2015 +0300
@@ -248,7 +248,7 @@
tab[13].value = tab[2].value;
} else {
tab[11].value = user->auth_user;
- tab[12].value = t_strcut(user->auth_user, '@');
+ tab[12].value = p_strdup(user->pool, t_strcut(user->auth_user, '@'));
tab[13].value = strchr(user->auth_user, '@');
}
More information about the dovecot-cvs
mailing list