[dovecot/core] d697aa: lib-index: Don't break indexes on syscall failures...

GitHub noreply at github.com
Sun Jun 19 23:00:12 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: d697aa99bbcd1b0356afbc2b0ab87c88fc7d725c
      https://github.com/dovecot/core/commit/d697aa99bbcd1b0356afbc2b0ab87c88fc7d725c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-20 (Mon, 20 Jun 2016)

  Changed paths:
    M src/lib-index/mail-index-sync-update.c

  Log Message:
  -----------
  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.




More information about the dovecot-cvs mailing list