From: Timo Sirainen Date: Sun, 7 Sep 2008 07:54:46 +0000 (+0300) Subject: pop3: Don't crash in UIDL command. X-Git-Tag: 1.2.alpha2~84 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d09ff4fc673325365e6e3a38d93870d1f1e5d721;p=thirdparty%2Fdovecot%2Fcore.git pop3: Don't crash in UIDL command. --HG-- branch : HEAD --- diff --git a/src/pop3/commands.c b/src/pop3/commands.c index a0528f4a22..976cc227b2 100644 --- a/src/pop3/commands.c +++ b/src/pop3/commands.c @@ -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 *client, struct cmd_uidl_context *ctx) if (ctx->message == 0) client_send_line(client, "."); - array_free(&ctx->search_arg.value.seqset); i_free(ctx); return found; }