]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
virtual: Fix assert-crash when backend mbox mailbox is deleted while virtual mailbox...
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 7 Oct 2021 11:52:12 +0000 (14:52 +0300)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Sun, 10 Oct 2021 00:40:29 +0000 (03:40 +0300)
commit5e0e7128d92ebf98cc58dd69473d32f9e6859214
tree068f2256a000c29a13ca09aa23cc5d1d16a1a6c7
parent0846f2ddd94c710c760c82f336137dc4317586d1
virtual: Fix assert-crash when backend mbox mailbox is deleted while virtual mailbox is open

The code wrongly thought that metadata lookup couldn't fail because it was
already successfully looked up. But the backend storage could still try to
refresh the mailbox to verify whether it still exists or not, and fail if
it was deleted.

This seems to have affected only the mbox mailbox format.

Broken by 710346bcb884b464c8ed128870fdc1999c13dfd3
src/plugins/virtual/virtual-sync.c