dovecot-1.0: lib-mail: rfc822_parse_quoted_string() didn't remov...
dovecot at dovecot.org
dovecot at dovecot.org
Sun Mar 4 14:12:43 EET 2012
details: http://hg.dovecot.org/dovecot-1.0/rev/93c1c8f83d8d
changeset: 5574:93c1c8f83d8d
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 708b2c9a851c -r 93c1c8f83d8d src/lib-mail/rfc822-parser.c
--- a/src/lib-mail/rfc822-parser.c Sun Feb 12 03:32:20 2012 +0200
+++ b/src/lib-mail/rfc822-parser.c Sun Mar 04 14:12:19 2012 +0200
@@ -224,7 +224,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