dovecot-1.2: pop3: Don't crash in UIDL command.

dovecot at dovecot.org dovecot at dovecot.org
Sun Sep 7 10:54:51 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/314fab62b3d1
changeset: 8164:314fab62b3d1
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Sep 07 10:54:46 2008 +0300
description:
pop3: Don't crash in UIDL command.

diffstat:

1 file changed, 3 deletions(-)
src/pop3/commands.c |    3 ---

diffs (20 lines):

diff -r 498dd1ec2b93 -r 314fab62b3d1 src/pop3/commands.c
--- a/src/pop3/commands.c	Fri Sep 05 21:19:06 2008 +0300
+++ b/src/pop3/commands.c	Sun Sep 07 10:54:46 2008 +0300
@@ -503,8 +503,6 @@ struct cmd_uidl_context {
 	struct mail_search_context *search_ctx;
 	struct mail *mail;
 	unsigned int message;
-
-	struct mail_search_arg search_arg;
 };
 
 static void pop3_get_uid(struct cmd_uidl_context *ctx,
@@ -601,7 +599,6 @@ static bool list_uids_iter(struct client
 
 	if (ctx->message == 0)
 		client_send_line(client, ".");
-	array_free(&ctx->search_arg.value.seqset);
 	i_free(ctx);
 	return found;
 }


More information about the dovecot-cvs mailing list