dovecot: Return mbox stream without CRs. Fixes crashes at least ...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Oct 23 16:44:23 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/1fc0aae1c159
changeset: 6606:1fc0aae1c159
user: Timo Sirainen <tss at iki.fi>
date: Tue Oct 23 16:44:18 2007 +0300
description:
Return mbox stream without CRs. Fixes crashes at least when searching.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/mbox/mbox-mail.c | 2 +-
diffs (12 lines):
diff -r d81a50101724 -r 1fc0aae1c159 src/lib-storage/index/mbox/mbox-mail.c
--- a/src/lib-storage/index/mbox/mbox-mail.c Mon Oct 22 21:58:45 2007 +0300
+++ b/src/lib-storage/index/mbox/mbox-mail.c Tue Oct 23 16:44:18 2007 +0300
@@ -221,7 +221,7 @@ static int mbox_mail_get_stream(struct m
offset, (uoff_t)-1);
data->stream =
i_stream_create_header_filter(raw_stream,
- HEADER_FILTER_EXCLUDE,
+ HEADER_FILTER_EXCLUDE | HEADER_FILTER_NO_CR,
mbox_hide_headers, mbox_hide_headers_count,
null_header_filter_callback, NULL);
i_stream_unref(&raw_stream);
More information about the dovecot-cvs
mailing list