dovecot-2.2: message_header_decode_utf8() wasn't used correctly ...
dovecot at dovecot.org
dovecot at dovecot.org
Mon May 5 13:03:38 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/d60c5ef63d63
changeset: 17322:d60c5ef63d63
user: Timo Sirainen <tss at iki.fi>
date: Mon May 05 16:02:48 2014 +0300
description:
message_header_decode_utf8() wasn't used correctly with NULL instead of FALSE parameter.
diffstat:
src/doveadm/doveadm-mail-fetch.c | 2 +-
src/lib-storage/index/index-sort.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 4e5f816b59d5 -r d60c5ef63d63 src/doveadm/doveadm-mail-fetch.c
--- a/src/doveadm/doveadm-mail-fetch.c Mon May 05 16:01:58 2014 +0300
+++ b/src/doveadm/doveadm-mail-fetch.c Mon May 05 16:02:48 2014 +0300
@@ -189,7 +189,7 @@
else {
message_header_decode_utf8(
(const void *)addr->name,
- strlen(addr->name), str, FALSE);
+ strlen(addr->name), str, NULL);
}
}
add_lf = TRUE;
diff -r 4e5f816b59d5 -r d60c5ef63d63 src/lib-storage/index/index-sort.c
--- a/src/lib-storage/index/index-sort.c Mon May 05 16:01:58 2014 +0300
+++ b/src/lib-storage/index/index-sort.c Mon May 05 16:02:48 2014 +0300
@@ -393,7 +393,7 @@
str = t_str_new(len*2);
(void)message_header_decode_utf8(
- (const unsigned char *)addr->name, len, str, FALSE);
+ (const unsigned char *)addr->name, len, str, NULL);
if (str_len(str) > 0) {
*name_r = str_c(str);
return 0;
More information about the dovecot-cvs
mailing list