dovecot-2.0: imap: UID commands could have written garbage to pr...

dovecot at dovecot.org dovecot at dovecot.org
Thu Jun 17 15:53:20 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/c03424ecf8e5
changeset: 11563:c03424ecf8e5
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jun 17 13:53:14 2010 +0100
description:
imap: UID commands could have written garbage to process title.
Patch by Mike Abbott / Apple

diffstat:

 src/imap/cmd-uid.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 9eee74e3c6c5 -r c03424ecf8e5 src/imap/cmd-uid.c
--- a/src/imap/cmd-uid.c	Wed Jun 16 19:56:45 2010 +0100
+++ b/src/imap/cmd-uid.c	Thu Jun 17 13:53:14 2010 +0100
@@ -20,7 +20,7 @@
 		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;


More information about the dovecot-cvs mailing list