dovecot-2.0: dsync: Make sure POP3 UIDL string isn't corrupted w...

dovecot at dovecot.org dovecot at dovecot.org
Thu Oct 21 20:28:15 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/4f90256c0e9c
changeset: 12331:4f90256c0e9c
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Oct 21 18:28:10 2010 +0100
description:
dsync: Make sure POP3 UIDL string isn't corrupted while saving it.

diffstat:

 src/dsync/dsync-worker-local.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 3959ddbc633c -r 4f90256c0e9c src/dsync/dsync-worker-local.c
--- a/src/dsync/dsync-worker-local.c	Thu Oct 21 18:27:38 2010 +0100
+++ b/src/dsync/dsync-worker-local.c	Thu Oct 21 18:28:10 2010 +0100
@@ -1806,6 +1806,7 @@
 			      DSYNC_MSG_GET_RESULT_FAILED, NULL, get->context);
 	} else {
 		worker->reading_mail = TRUE;
+		data.pop3_uidl = t_strdup(data.pop3_uidl);
 		data.input = i_stream_create_limit(data.input, (uoff_t)-1);
 		i_stream_set_destroy_callback(data.input,
 					      local_worker_msg_get_done,


More information about the dovecot-cvs mailing list