dovecot-2.2: lib-mail: rfc822_parse_quoted_string() didn't remov...
dovecot at dovecot.org
dovecot at dovecot.org
Sun May 20 03:26:25 EEST 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/92c6e963176e
changeset: 14280:92c6e963176e
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 694ea6e13a86 -r 92c6e963176e src/lib-mail/rfc822-parser.c
--- a/src/lib-mail/rfc822-parser.c Sun Mar 04 13:56:33 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