]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-index: Don't break indexes on syscall failures during index refreshing.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Sun, 19 Jun 2016 22:47:59 +0000 (01:47 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Sun, 19 Jun 2016 23:32:28 +0000 (02:32 +0300)
commitc5bb8ef0a2cb42c5cf977dc24963ae95b42a3b89
tree7d43258a8bcf0d7a05a2c45c7ad60d60526ec76a
parenta12763b80dca2ce7ccfbcfdf133caa728e9f26e3
lib-index: Don't break indexes on syscall failures during index refreshing.

Especially mmap() failures due to out of memory could have triggered this.
We treated the open as successful, which meant that an empty index was
opened.
src/lib-index/mail-index-sync-update.c