dovecot-2.0: lda: -m parameter's UTF-8 validity wasn't checked c...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Oct 6 20:57:51 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/c4f91b9acb01
changeset: 12253:c4f91b9acb01
user: Timo Sirainen <tss at iki.fi>
date: Wed Oct 06 18:57:38 2010 +0100
description:
lda: -m parameter's UTF-8 validity wasn't checked correctly.
Found by Vadim Okun
diffstat:
src/lda/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 74ede782269d -r c4f91b9acb01 src/lda/main.c
--- a/src/lda/main.c Wed Oct 06 18:57:16 2010 +0100
+++ b/src/lda/main.c Wed Oct 06 18:57:38 2010 +0100
@@ -284,7 +284,7 @@
Ignore -m "". This allows doing -m ${extension}
in Postfix to handle user+mailbox */
if (*optarg != '\0') T_BEGIN {
- if (uni_utf8_str_is_valid(optarg) < 0) {
+ if (!uni_utf8_str_is_valid(optarg)) {
i_fatal("Mailbox name not UTF-8: %s",
optarg);
}
More information about the dovecot-cvs
mailing list