[dovecot/core] 8f900b: lib-fs: Allow fs_set_metadata() to update already ...

GitHub noreply at github.com
Fri Mar 31 16:00:10 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 8f900bf5b01a78ac9be748e7502aad7cf3486420
      https://github.com/dovecot/core/commit/8f900bf5b01a78ac9be748e7502aad7cf3486420
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-03-31 (Fri, 31 Mar 2017)

  Changed paths:
    M src/lib-fs/fs-api.c

  Log Message:
  -----------
  lib-fs: Allow fs_set_metadata() to update already added metadata.

Previously we were just appending the metadata multiple times with different
values, which could have caused problems.


  Commit: 15fa038377f9e3da24d088aa8a908919581c60a6
      https://github.com/dovecot/core/commit/15fa038377f9e3da24d088aa8a908919581c60a6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-03-31 (Fri, 31 Mar 2017)

  Changed paths:
    M src/lib-fs/fs-api.c
    M src/lib-fs/fs-api.h

  Log Message:
  -----------
  lib-fs: Add FS_METADATA_ORIG_PATH

This allows fs backends to keep track of the original filename and use it
for logging purposes and such.


  Commit: 5930d3ff79f8af73abce293a93e20f3723479631
      https://github.com/dovecot/core/commit/5930d3ff79f8af73abce293a93e20f3723479631
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-03-31 (Fri, 31 Mar 2017)

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

  Log Message:
  -----------
  lib-index: Assert in mail_index_append_finish_uids() to prevent UID wrapping

This should be handled better eventually, but it's better to crash earlier
now than later. This avoids a later assert:

Panic: file mail-index-transaction-finish.c: line 187 (mail_index_transaction_get_uid): assertion failed: (rec->uid != 0)


Compare: https://github.com/dovecot/core/compare/b1e097e04cef...5930d3ff79f8


More information about the dovecot-cvs mailing list