]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-storage: Prevent renaming mailbox under itself.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 15 Nov 2016 23:09:57 +0000 (01:09 +0200)
committerGitLab <gitlab@git.dovecot.net>
Wed, 16 Nov 2016 15:08:03 +0000 (17:08 +0200)
commit606e388022ed2c9e94f912a5205626d11a9da6dc
treee9afb98653257da66057209661394d5c55c32923
parentbcfeddf8c91cbb1dcdcf6c54d6d137e08b534ff1
lib-storage: Prevent renaming mailbox under itself.

This resulted earlier in a loop, which broke the mailbox index.
Note that IMAP already prevented this, so it could only be triggered by
other tools, like doveadm.
src/lib-storage/list/mailbox-list-index-backend.c