dovecot: Fixed possible header breaking at extension header resize.

dovecot at dovecot.org dovecot at dovecot.org
Mon Jul 2 22:19:16 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/e5acd078fb41
changeset: 5862:e5acd078fb41
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jul 02 22:19:11 2007 +0300
description:
Fixed possible header breaking at extension header resize.

diffstat:

1 file changed, 1 insertion(+)
src/lib-index/mail-index-sync-ext.c |    1 +

diffs (11 lines):

diff -r 70bfd5adab79 -r e5acd078fb41 src/lib-index/mail-index-sync-ext.c
--- a/src/lib-index/mail-index-sync-ext.c	Mon Jul 02 22:18:50 2007 +0300
+++ b/src/lib-index/mail-index-sync-ext.c	Mon Jul 02 22:19:11 2007 +0300
@@ -289,6 +289,7 @@ sync_ext_resize(const struct mail_transa
 				   new_size - old_size);
 		modified = TRUE;
 	}
+	map->hdr_base = map->hdr_copy_buf->data;
 
 	old_record_size = ext->record_size;
 	ext->hdr_size = u->hdr_size;


More information about the dovecot-cvs mailing list