[dovecot/core] bb6124: lib-index: Fix start_offset > sync_offset error ha...

GitHub noreply at github.com
Tue May 30 21:17:15 EEST 2017


  Branch: refs/heads/release-2.2.30
  Home:   https://github.com/dovecot/core
  Commit: bb612496725eb1728ab2a7a391fa71eddb985e07
      https://github.com/dovecot/core/commit/bb612496725eb1728ab2a7a391fa71eddb985e07
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-24 (Wed, 24 May 2017)

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

  Log Message:
  -----------
  lib-index: Fix start_offset > sync_offset error handling for in-memory indexes


  Commit: 9b58d1b7e2d2a7457bd0e39f4df44fe9cdac803d
      https://github.com/dovecot/core/commit/9b58d1b7e2d2a7457bd0e39f4df44fe9cdac803d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-24 (Wed, 24 May 2017)

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

  Log Message:
  -----------
  lib-index: Fix crash in mail_transaction_log_view_set_all() error handling


  Commit: 120b88f64fa313f5c309e4dd038f79451930021c
      https://github.com/dovecot/core/commit/120b88f64fa313f5c309e4dd038f79451930021c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
    M src/lib-master/master-service-private.h
    M src/lib-master/master-service.c

  Log Message:
  -----------
  lib-master: Replace listeners with /dev/null in SIGQUIT instead of closing

This should be somewhat safer.


  Commit: f9b93cc5e8a7fab05925ab02db544f1b228e7302
      https://github.com/dovecot/core/commit/f9b93cc5e8a7fab05925ab02db544f1b228e7302
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/lib-http/http-client-host.c

  Log Message:
  -----------
  lib-http: client: Fixed race condition between DNS refresh lookup and a soft connection timeout.

The refreshing DNS lookup cleared all the IPs, but the soft connection timeout (and maybe other code) still relied on them.
Adding tests everywhere for host->ips_count == 0 is annoying, so I changed the DNS lookup code such that the stale IPs remain present while the DNS lookup is being performed.
The pending lookup prevents new connections through http_client_host_refresh(), so this will not create potentially useless connections.


  Commit: 8f195c1e06b88315693427ac05b3622d621e80e6
      https://github.com/dovecot/core/commit/8f195c1e06b88315693427ac05b3622d621e80e6
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/imap/main.c

  Log Message:
  -----------
  imap: login reply should be sent sooner


  Commit: f7e77fbccaf27f15c1a348884410d2ea31c6e853
      https://github.com/dovecot/core/commit/f7e77fbccaf27f15c1a348884410d2ea31c6e853
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-index-notify.c

  Log Message:
  -----------
  lib-storage: Fix mailbox list index notifications when modseqs aren't enabled.

No notifications were sent if highest_modseqs weren't updated in mailbox
list index.


  Commit: d45052a629270accc1b7dde11729828ff59e8a02
      https://github.com/dovecot/core/commit/d45052a629270accc1b7dde11729828ff59e8a02
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-index-status.c

  Log Message:
  -----------
  lib-storage: Always update highestmodseq in mailbox list index

This is required for mailbox-list-notify API to work correctly. For
example IMAP NOTIFY session with CONDSTORE enabled could be listening for
FlagChanges, but another session without CONDSTORE enabled could be updating
flags in a mailbox that has never been opened with CONDSTORE enabled.
NOTIFY wouldn't see this change, unless it was always written to
dovecot.list.index.


  Commit: 5a4921a3577cc2055043a4c81c8bdb7de5cd241d
      https://github.com/dovecot/core/commit/5a4921a3577cc2055043a4c81c8bdb7de5cd241d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/lib-storage/index/imapc/imapc-list.c
    M src/lib-storage/index/shared/shared-list.c
    M src/lib-storage/list/mailbox-list-fs.c
    M src/lib-storage/list/mailbox-list-index-backend.c
    M src/lib-storage/list/mailbox-list-maildir.c
    M src/lib-storage/list/mailbox-list-none.c

  Log Message:
  -----------
  lib-storage: Explicitly name function pointers in mailbox lists

This allows adding more fields to struct mailbox_list_vfuncs without
compiler warnings.


  Commit: 3ee1976cb28fcd0191e33f59cf5490482ae22685
      https://github.com/dovecot/core/commit/3ee1976cb28fcd0191e33f59cf5490482ae22685
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-index-notify.c
    M src/lib-storage/list/mailbox-list-index.c
    M src/lib-storage/list/mailbox-list-index.h
    M src/lib-storage/mailbox-list-notify.c
    M src/lib-storage/mailbox-list-notify.h
    M src/lib-storage/mailbox-list-private.h

  Log Message:
  -----------
  lib-storage: Implement mailbox_list_notify_flush()

This flushes any pending notifications. For now it only checks if there's
a pending notification waiting for a timeout. It could also stat() the
files to make sure, but that's probably unnecessary.


  Commit: 6c4273fbf1d9f787d93d92a0361c6fb19e7805bf
      https://github.com/dovecot/core/commit/6c4273fbf1d9f787d93d92a0361c6fb19e7805bf
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/imap/cmd-noop.c
    M src/imap/imap-notify.c
    M src/imap/imap-notify.h

  Log Message:
  -----------
  imap NOTIFY: Flush any pending notifications on NOOP

This is mainly to allow testing NOTIFY easily with imaptest scripts.
This is cheap anyway, because mailbox_list_notify_flush() doesn't do any
syscalls when there's no work.


  Commit: 5c9dced26172ca23c6b148004546269b0dda4971
      https://github.com/dovecot/core/commit/5c9dced26172ca23c6b148004546269b0dda4971
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/imap/imap-master-client.c

  Log Message:
  -----------
  imap: Fix unhibernation after earlier change


  Commit: 88e088d053f90cbcbaa3e8f04762110d722920ed
      https://github.com/dovecot/core/commit/88e088d053f90cbcbaa3e8f04762110d722920ed
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/lib-storage/mail-storage-private.h
    M src/lib-storage/mail-storage.c

  Log Message:
  -----------
  lib-storage: Fix mail_storage_last_error_push/pop() to work with internal errors


  Commit: ee6ee3ed20f515bc7b1db4a2d7febe00547e7cba
      https://github.com/dovecot/core/commit/ee6ee3ed20f515bc7b1db4a2d7febe00547e7cba
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/lib-storage/mail-storage.c

  Log Message:
  -----------
  lib-storage: Fix mail_storage_set_critical() when input parameter is an old internal error

This could have caused garbage in the error string.


  Commit: d68e9de33d3243d6df9beea6d75561960f8cb8f3
      https://github.com/dovecot/core/commit/d68e9de33d3243d6df9beea6d75561960f8cb8f3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/lib-storage/Makefile.am
    A src/lib-storage/test-mail-storage.c

  Log Message:
  -----------
  lib-storage: Add unit test for set/get/push/pop storage error operations


  Commit: 057700f6cb5b95e357745625d467f556bc8bd2a5
      https://github.com/dovecot/core/commit/057700f6cb5b95e357745625d467f556bc8bd2a5
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/lib-storage/test-mail-storage.c

  Log Message:
  -----------
  lib-storage: Fix memory leak in test-mail-storage


  Commit: c32180e3d7f69432f9792587e3a04d0b59f0938e
      https://github.com/dovecot/core/commit/c32180e3d7f69432f9792587e3a04d0b59f0938e
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/plugins/mail-crypt/mail-crypt-plugin.c

  Log Message:
  -----------
  mail-crypt: Re-encrypt mails when copying/moving

Otherwise the mail cannot be opened after moving


  Commit: dc743c1ae909518b2a153c12bd125ca7f4bbf91c
      https://github.com/dovecot/core/commit/dc743c1ae909518b2a153c12bd125ca7f4bbf91c
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/plugins/mail-crypt/mail-crypt-plugin.c

  Log Message:
  -----------
  mail-crypt-plugin: Set copy-hook only if save_version > 0

Otherwise we might use it in read-only mode, too.


  Commit: 1fb219173393892da2fd98332a5f78c8e958a115
      https://github.com/dovecot/core/commit/1fb219173393892da2fd98332a5f78c8e958a115
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/lib-storage/test-mail-storage.c

  Log Message:
  -----------
  lib-storage: Fix crash in test-mail-storage


  Commit: 7b98e0021bb23dfb1036f9b13909ebe12c3ce2a6
      https://github.com/dovecot/core/commit/7b98e0021bb23dfb1036f9b13909ebe12c3ce2a6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
    M src/auth/auth-request.c

  Log Message:
  -----------
  auth: Fix crash on passdb lookup when all passdbs were skipped

Finishes the fix in 614f5b6febaf3c825f9200ab3b62d9d047197b0e

Fixes:
auth: Panic: file auth-request.c: line 2493 (get_log_prefix): assertion failed: (auth_request->mech != NULL)


  Commit: 364b29ebc6b63bee9105fa8b3fae814e9b95612f
      https://github.com/dovecot/core/commit/364b29ebc6b63bee9105fa8b3fae814e9b95612f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
    M src/lib-storage/test-mail-storage.c

  Log Message:
  -----------
  lib-storage: Fix compiler warning in test-mail-storage


  Commit: 8acbc67886a99eceba4ab3788b9cc1dc7715f067
      https://github.com/dovecot/core/commit/8acbc67886a99eceba4ab3788b9cc1dc7715f067
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
    M NEWS
    M configure.ac

  Log Message:
  -----------
  Released v2.2.30.


Compare: https://github.com/dovecot/core/compare/d4620b9f6c0a...8acbc67886a9


More information about the dovecot-cvs mailing list