[dovecot/core] 7707c4: lib-index: zero mmap_length after logging error

GitHub noreply at github.com
Tue Feb 14 12:00:10 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 7707c4b35b868eda75b585c863d97726ff23f80f
      https://github.com/dovecot/core/commit/7707c4b35b868eda75b585c863d97726ff23f80f
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2017-02-14 (Tue, 14 Feb 2017)

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

  Log Message:
  -----------
  lib-index: zero mmap_length after logging error

Logging that mmap(size=0) failed looks suspicious.


  Commit: 9b08d9d9be3db241a92cc072feab21d1e0e24a58
      https://github.com/dovecot/core/commit/9b08d9d9be3db241a92cc072feab21d1e0e24a58
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-02-14 (Tue, 14 Feb 2017)

  Changed paths:
    M src/lib-dict/dict-sql.c

  Log Message:
  -----------
  dict-sql: Fix error handling in commit

sql_dict_prev_inc_flush() or sql_dict_prev_set_flush() might set ctx->error,
so they need to be done earlier.


Compare: https://github.com/dovecot/core/compare/532bb6cdc2fc...9b08d9d9be3d


More information about the dovecot-cvs mailing list