From: Timo Sirainen Date: Thu, 17 Jun 2010 12:53:14 +0000 (+0100) Subject: imap: UID commands could have written garbage to process title. X-Git-Tag: 2.0.rc1~155 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09caab22d29a60d7178557097d667ebbbcfc983a;p=thirdparty%2Fdovecot%2Fcore.git imap: UID commands could have written garbage to process title. Patch by Mike Abbott / Apple --HG-- branch : HEAD --- diff --git a/src/imap/cmd-uid.c b/src/imap/cmd-uid.c index 3ce86e7cd6..9d245c5dad 100644 --- a/src/imap/cmd-uid.c +++ b/src/imap/cmd-uid.c @@ -20,7 +20,7 @@ bool cmd_uid(struct client_command_context *cmd) return TRUE; } - cmd->name = t_strconcat("UID ", cmd_name, NULL); + cmd->name = p_strconcat(cmd->pool, "UID ", cmd_name, NULL); cmd->cmd_flags = command->flags; cmd->func = command->func; cmd->uid = TRUE;