]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imap: UID commands could have written garbage to process title.
authorTimo Sirainen <tss@iki.fi>
Thu, 17 Jun 2010 12:53:14 +0000 (13:53 +0100)
committerTimo Sirainen <tss@iki.fi>
Thu, 17 Jun 2010 12:53:14 +0000 (13:53 +0100)
Patch by Mike Abbott / Apple

--HG--
branch : HEAD

src/imap/cmd-uid.c

index 3ce86e7cd615d40beeaf893052fa77035618b686..9d245c5dad9f07ca417fecd3ae9f511249c28d01 100644 (file)
@@ -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;