]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
imapc: imapc_transaction_save_rollback() - Fix NULL-check for ctx->src_mbox
authorMarkus Valentin <markus.valentin@open-xchange.com>
Tue, 1 Mar 2022 12:49:39 +0000 (13:49 +0100)
committerMarkus Valentin <markus.valentin@open-xchange.com>
Mon, 14 Mar 2022 13:06:49 +0000 (14:06 +0100)
commit4540884c46c856332f704f4799da1bfb860e2fd4
tree79c0c20fab72a0b2822793a387219117081e37ba
parente5a07bd1c4b3c17f5471c8cd2b431df3cc7b3f9a
imapc: imapc_transaction_save_rollback() - Fix NULL-check for ctx->src_mbox

Assert that unfinished context implies that ctx->src_mbox is non-NULL.
Also check for ctx->src_mbox being non-NULL before deinitializing it.
src/lib-storage/index/imapc/imapc-save.c