Displaying 4 results from an estimated 4 matches for "cmd_append_finish".
2016 Jun 07
2
segfault in IMAP APPEND with compressed maildir
...0x1fbd050
size = 33201320
#2 0x00007f57e2a2a8b9 in mailbox_save_cancel (_ctx=_ctx at entry=0x1fc4d48) at mail-storage.c:2117
ctx = 0x1fd3dd0
keywords = 0x0
mail = <optimized out>
__FUNCTION__ = "mailbox_save_cancel"
#3 0x000000000040c759 in cmd_append_finish (ctx=0x1fc4cf0) at cmd-append.c:149
__FUNCTION__ = "cmd_append_finish"
#4 0x000000000040c835 in client_input_append (cmd=0x1fc4bc0) at cmd-append.c:89
ctx = <optimized out>
client = 0x1fc3fc0
reason = 0x1f9e0b8 "Disconnected in APPEND (1 msgs, 3...
2008 Feb 20
1
(message_parser_parse_next_block): assertion, failed: (ctx->input->eof)
...0x000000000043a9f8 in maildir_save_cancel (_ctx=0x62f048) at
maildir-save.c:554
ctx = (struct maildir_save_context *) 0x62f048
#10 0x000000000046bf99 in mailbox_save_cancel (_ctx=0x61e108) at
mail-storage.c:736
ctx = (struct mail_save_context *) 0x62f048
#11 0x00000000004147a1 in cmd_append_finish (ctx=0x61e0c8) at
cmd-append.c:137
__PRETTY_FUNCTION__ = "cmd_append_finish"
#12 0x0000000000414f21 in cmd_append_continue_message (cmd=0x61e048) at
cmd-append.c:364
client = (struct client *) 0x60d200
ctx = (struct cmd_append_context *) 0x61e0c8
size = 1...
2013 Nov 06
1
get_disconnect_reason() gets called with NULL ctx->litinput
...sh when accessing v_offset:
src/imap/cmd-append.c:
83 switch (i_stream_read(client->input)) {
84 case -1:
85 /* disconnected */
86 reason = get_disconnect_reason(ctx,
ctx->litinput->v_offset);
87 cmd_append_finish(cmd->context);
88 /* Reset command so that client_destroy()
doesn't try to call
89 cmd_append_continue_message() anymore. */
Best regards,
Tomasz Pot?ga
[Wirtualna Polska]
<http://www.wp.pl>
Znajdziesz nas tutaj:
[Wp na Facebooku] <...
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
..."NO Can't save a zero byte message.");
+ ctx->failed = TRUE;
+ cancel = TRUE;
+ }
+
+ ctx->message_input = FALSE;
+ if (cancel) {
+ if (ctx->args != NULL) {
+ ctx->cmd->func = cmd_append_continue_parsing;
+ return cmd_append_continue_parsing(ctx->cmd);
+ }
+ cmd_append_finish(ctx);
+ return TRUE;
+ } else {
+ if (ctx->args == NULL)
+ imap_parser_reset(ctx->save_parser);
+ ctx->cmd->func = cmd_append_continue_parsing;
+ return cmd_append_continue_parsing(ctx->cmd);
+ }
+}
+
+static bool catenate_continue_parsing(struct client_command_context *cmd)
+{...