dovecot-2.0: lib-mail: rfc822_parse_quoted_string() didn't remov...
dovecot at dovecot.org
dovecot at dovecot.org
Sun Mar 4 14:13:11 EET 2012
details: http://hg.dovecot.org/dovecot-2.0/rev/d850e6254cdc
changeset: 13066:d850e6254cdc
user: Timo Sirainen <tss at iki.fi>
date: Sun Mar 04 14:12:19 2012 +0200
description:
lib-mail: rfc822_parse_quoted_string() didn't remove '\' from the strings.
diffstat:
src/lib-mail/rfc822-parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r b6de838fac0e -r d850e6254cdc src/lib-mail/rfc822-parser.c
--- a/src/lib-mail/rfc822-parser.c Sun Mar 04 13:20:21 2012 +0200
+++ b/src/lib-mail/rfc822-parser.c Sun Mar 04 14:12:19 2012 +0200
@@ -231,7 +231,7 @@
if (ctx->data == ctx->end)
return -1;
- str_append_n(str, start, ctx->data - start);
+ str_append_n(str, start, ctx->data - start - 1);
start = ctx->data;
break;
}
More information about the dovecot-cvs
mailing list