dovecot-2.2: pop3: Fixed off-by-one bug in the sequence number f...

dovecot at dovecot.org dovecot at dovecot.org
Fri Mar 28 14:00:41 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/b0359910ec96
changeset: 17181:b0359910ec96
user:      Teemu Huovila <teemu.huovila at dovecot.fi>
date:      Fri Mar 28 15:59:48 2014 +0200
description:
pop3: Fixed off-by-one bug in the sequence number fix of d20059f7d3a1.

diffstat:

 src/pop3/pop3-commands.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 46d1da1cdfc7 -r b0359910ec96 src/pop3/pop3-commands.c
--- a/src/pop3/pop3-commands.c	Fri Mar 28 15:31:06 2014 +0200
+++ b/src/pop3/pop3-commands.c	Fri Mar 28 15:59:48 2014 +0200
@@ -826,7 +826,7 @@
 				      client->messages_count+1);
 	for (msgnum = 0; msgnum < client->messages_count; msgnum++) {
 		client->message_uidls[msgnum] =
-			seq_uidls[msgnum_to_seq(client, msgnum)];
+			seq_uidls[msgnum_to_seq(client, msgnum) - 1];
 	}
 	i_free(seq_uidls);
 }


More information about the dovecot-cvs mailing list