dovecot-1.2: IMAP: cmd->name memory was allocated wrong.
dovecot at dovecot.org
dovecot at dovecot.org
Mon Jun 1 19:26:22 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/f1a6c9dd4c33
changeset: 9113:f1a6c9dd4c33
user: Timo Sirainen <tss at iki.fi>
date: Mon Jun 01 12:26:16 2009 -0400
description:
IMAP: cmd->name memory was allocated wrong.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/imap/cmd-uid.c | 2 +-
diffs (12 lines):
diff -r 9d634c93d28a -r f1a6c9dd4c33 src/imap/cmd-uid.c
--- a/src/imap/cmd-uid.c Mon Jun 01 00:42:04 2009 -0400
+++ b/src/imap/cmd-uid.c Mon Jun 01 12:26:16 2009 -0400
@@ -20,7 +20,7 @@ bool cmd_uid(struct client_command_conte
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