Mercurial > dovecot > core-2.2
changeset 12331:4f90256c0e9c
dsync: Make sure POP3 UIDL string isn't corrupted while saving it.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 21 Oct 2010 18:28:10 +0100 |
parents | 3959ddbc633c |
children | 9e400f6963eb |
files | src/dsync/dsync-worker-local.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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,