dovecot-2.1: imapc: Don't assert-crash when receiving 0 size lit...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Oct 1 17:47:11 EEST 2011
details: http://hg.dovecot.org/dovecot-2.1/rev/037e963c9a34
changeset: 13574:037e963c9a34
user: Timo Sirainen <tss at iki.fi>
date: Sat Oct 01 17:54:57 2011 +0300
description:
imapc: Don't assert-crash when receiving 0 size literal.
diffstat:
src/lib-imap-client/imapc-connection.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diffs (11 lines):
diff -r 4cfe3f14bb46 -r 037e963c9a34 src/lib-imap-client/imapc-connection.c
--- a/src/lib-imap-client/imapc-connection.c Sat Oct 01 17:47:35 2011 +0300
+++ b/src/lib-imap-client/imapc-connection.c Sat Oct 01 17:54:57 2011 +0300
@@ -366,7 +366,6 @@
const struct imap_arg *parent_arg;
unsigned int idx;
- i_assert(size > 0);
i_assert(conn->literal.fd == -1);
if (size <= IMAPC_MAX_INLINE_LITERAL_SIZE ||
More information about the dovecot-cvs
mailing list