]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-storage: Fix assert-crash on mailbox_copy/move() failure
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Sun, 15 Jan 2017 17:56:32 +0000 (19:56 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Sun, 15 Jan 2017 17:56:32 +0000 (19:56 +0200)
commit2c6a1ceeddee48ff682bbedaa2567d0429cd17c6
treec032561326ac61ecccc578291b90bf524ce311bd
parentfd4130e3e6aec1dc6b16edc813eabdecbbd8d859
lib-storage: Fix assert-crash on mailbox_copy/move() failure

If mailbox_save_cancel() was being called outside mail_storage_copy()
it assert-crashed:

Panic: file mail-storage.c: line 2168 (mailbox_save_context_reset): assertion failed: (ctx->copying_via_save)
src/lib-storage/mail-storage.c