dovecot-1.2: mail_index_update_header_ext(): updating >32k heade...

dovecot at dovecot.org dovecot at dovecot.org
Fri Nov 20 01:31:21 EET 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/3e1ca490dde0
changeset: 9479:3e1ca490dde0
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Nov 19 18:31:14 2009 -0500
description:
mail_index_update_header_ext(): updating >32k headers crashed with out-of-memory.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-index/mail-transaction-log-append.c |    2 +-

diffs (12 lines):

diff -r 3ebbccdc05e6 -r 3e1ca490dde0 src/lib-index/mail-transaction-log-append.c
--- a/src/lib-index/mail-transaction-log-append.c	Thu Nov 19 17:59:29 2009 -0500
+++ b/src/lib-index/mail-transaction-log-append.c	Thu Nov 19 18:31:14 2009 -0500
@@ -311,7 +311,7 @@ log_append_ext_hdr_update(struct log_app
 	buffer_t *buf;
 	const unsigned char *data, *mask;
 	struct mail_transaction_ext_hdr_update u;
-	uint16_t offset;
+	size_t offset;
 	bool started = FALSE;
 
 	memset(&u, 0, sizeof(u));


More information about the dovecot-cvs mailing list