[dovecot/core] d6d9ee: lib-index: Minor code cleanup - removed duplicate ...

GitHub noreply at github.com
Wed Mar 2 22:20:08 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: d6d9ee111d3b31a366c19391eabb377a3d2d66e8
      https://github.com/dovecot/core/commit/d6d9ee111d3b31a366c19391eabb377a3d2d66e8
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-03-03 (Thu, 03 Mar 2016)

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

  Log Message:
  -----------
  lib-index: Minor code cleanup - removed duplicate function prototype.


  Commit: 5bd1c1d4fe3265d5e6b6054044fd6d78e42c9d0a
      https://github.com/dovecot/core/commit/5bd1c1d4fe3265d5e6b6054044fd6d78e42c9d0a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-03-03 (Thu, 03 Mar 2016)

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

  Log Message:
  -----------
  lib-index: After MAIL_INDEX_OPEN_FLAG_SAVEONLY access cache's read_buf wasn't always reset.

This could have caused at least errors like:

Corrupted index cache file .../dovecot.index.cache: File too small

I'm not sure if it might have also returned stale data sometimes.

Easy way to reproduce this bug was:
imaptest copy=100 copybox=Trash &
imaptest box=Trash append=0


Compare: https://github.com/dovecot/core/compare/6e15d56df69d...5bd1c1d4fe32


More information about the dovecot-cvs mailing list