]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
imapc: Fix assert-crash after detecting that multiple expunged mail reappear
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 21 Feb 2018 15:04:16 +0000 (17:04 +0200)
committerAki Tuomi <aki.tuomi@dovecot.fi>
Wed, 28 Feb 2018 08:30:19 +0000 (10:30 +0200)
commit24cc64c148da0297352c5ee58b74962795809c42
tree919dbe274b8a354426b692bd38c7892d6f8df2f4
parentbc2c2ef8fc5bd1124a794b0de612b1f12321374b
imapc: Fix assert-crash after detecting that multiple expunged mail reappear

The first imapc_mailbox_set_corrupted() call started a reconnect. The second
call crashed with:

Panic: file imapc-client.c: line 414 (imapc_client_mailbox_reconnect): assertion failed: (!box->reconnecting)
src/lib-storage/index/imapc/imapc-sync.c