dovecot-2.1: imap: Handle invalid APPEND parameters a little nicer.
dovecot at dovecot.org
dovecot at dovecot.org
Thu Feb 9 16:28:05 EET 2012
details: http://hg.dovecot.org/dovecot-2.1/rev/665bb4bc72ca
changeset: 14102:665bb4bc72ca
user: Timo Sirainen <tss at iki.fi>
date: Thu Feb 09 16:27:54 2012 +0200
description:
imap: Handle invalid APPEND parameters a little nicer.
diffstat:
src/imap/cmd-append.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 671b637e20db -r 665bb4bc72ca src/imap/cmd-append.c
--- a/src/imap/cmd-append.c Thu Feb 09 15:53:18 2012 +0200
+++ b/src/imap/cmd-append.c Thu Feb 09 16:27:54 2012 +0200
@@ -312,6 +312,7 @@
if (!validate_args(args, &flags_list, &internal_date_str,
&ctx->msg_size, &nonsync)) {
client_send_command_error(cmd, "Invalid arguments.");
+ client->input_skip_line = TRUE;
return cmd_append_cancel(ctx, nonsync);
}
More information about the dovecot-cvs
mailing list