[dovecot-cvs] dovecot/src/lib-mail message-decoder.c,1.1,1.2
tss at dovecot.org
tss at dovecot.org
Wed Oct 25 00:45:16 UTC 2006
- Previous message: [dovecot-cvs] dovecot/src/plugins/fts-lucene lucene-wrapper.cc, 1.1, 1.2
- Next message: [dovecot-cvs] dovecot/src/plugins/fts fts-api-private.h, 1.2, 1.3 fts-api.c, 1.3, 1.4 fts-api.h, 1.2, 1.3 fts-storage.c, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-mail
In directory talvi:/tmp/cvs-serv7120
Modified Files:
message-decoder.c
Log Message:
Don't crash with unknown charsets
Index: message-decoder.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-mail/message-decoder.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- message-decoder.c 17 Sep 2006 16:23:44 -0000 1.1
+++ message-decoder.c 24 Oct 2006 23:45:14 -0000 1.2
@@ -277,7 +277,7 @@
ctx->encoding_size);
}
- if (ctx->charset_utf8) {
+ if (ctx->charset_utf8 || ctx->charset_trans == NULL) {
output->data = data;
output->size = size;
} else {
- Previous message: [dovecot-cvs] dovecot/src/plugins/fts-lucene lucene-wrapper.cc, 1.1, 1.2
- Next message: [dovecot-cvs] dovecot/src/plugins/fts fts-api-private.h, 1.2, 1.3 fts-api.c, 1.3, 1.4 fts-api.h, 1.2, 1.3 fts-storage.c, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list