[dovecot/core] 1c783b: lib-index: Fix potential error when reading from u...

GitHub noreply at github.com
Mon Oct 24 11:00:12 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 1c783b6d9cbdf0cdb84507472f0aa6a50a1861cd
      https://github.com/dovecot/core/commit/1c783b6d9cbdf0cdb84507472f0aa6a50a1861cd
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-10-24 (Mon, 24 Oct 2016)

  Changed paths:
    M src/lib-index/mail-cache-transaction.c

  Log Message:
  -----------
  lib-index: Fix potential error when reading from uncommitted cache transaction

If dovecot.index.cache is compressed during the transaction, the new cache
fields mapping doesn't necessarily match what is in the transaction.

Fixes:
Error: Corrupted index cache file .../dovecot.index.cache: field index too large (27 >= 17)

Although there may be other cache corruption errors it also fixes.




More information about the dovecot-cvs mailing list