[dovecot/core | refs/heads/release-2.2.36] 5d621cf6: Released v2.2.36.1.

noreply at dovecot.org noreply at dovecot.org
Tue Feb 5 15:16:29 EET 2019


  Branch: refs/heads/release-2.2.36
  Home:   https://github.com/dovecot/core
  Commit: 5d621cf65a8ebdc30b8b329869d3682b1e1b635d
      https://github.com/dovecot/core/commit/5d621cf65a8ebdc30b8b329869d3682b1e1b635d
  Author: Timo Sirainen <timo.sirainen at open-xchange.com>
  Date:   2019-02-04 (Mon, 04 Feb 2019)

  Changed paths:
    M NEWS
    M configure.ac

  Log Message:
  -----------
  Released v2.2.36.1.

  Commit: f2a72a74aa01558f5f2a8399c03f32be60b8ade5
      https://github.com/dovecot/core/commit/f2a72a74aa01558f5f2a8399c03f32be60b8ade5
  Author: Timo Sirainen <timo.sirainen at open-xchange.com>
  Date:   2019-01-31 (Thu, 31 Jan 2019)

  Changed paths:
    M src/lib-master/ipc-client.c

  Log Message:
  -----------
  lib-master: ipc-client - Fix crash on connect failure

Broken by b7ecba9d6d358569d367620f95e3817da99e0036, which relied on v2.3
behavior for timeout_remove().

  Commit: 86e84a2f3154a978a1c41c6f5a100e4c04a2545b
      https://github.com/dovecot/core/commit/86e84a2f3154a978a1c41c6f5a100e4c04a2545b
  Author: Aki Tuomi <aki.tuomi at open-xchange.com>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

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

  Log Message:
  -----------
  auth: Do not import empty certificate username

  Commit: d3db671c4be1aa8be1717e4f2aa830c9a5236043
      https://github.com/dovecot/core/commit/d3db671c4be1aa8be1717e4f2aa830c9a5236043
  Author: Aki Tuomi <aki.tuomi at open-xchange.com>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

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

  Log Message:
  -----------
  auth: Fail authentication if certificate username was unexpectedly missing

  Commit: bd2f99fae9b6842df4eb326ba48419248e852eb8
      https://github.com/dovecot/core/commit/bd2f99fae9b6842df4eb326ba48419248e852eb8
  Author: Aki Tuomi <aki.tuomi at open-xchange.com>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/login-common/sasl-server.c

  Log Message:
  -----------
  login-common: Ensure we get username from certificate

  Commit: 31b5e884e889b5c05250eadda5ca73ba1874306a
      https://github.com/dovecot/core/commit/31b5e884e889b5c05250eadda5ca73ba1874306a
  Author: Timo Sirainen <timo.sirainen at open-xchange.com>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

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

  Log Message:
  -----------
  LAYOUT=index: Fix rebuilding mailbox list index on force-resync

The if-check was a bit confusing because have_backend==TRUE means that there
the mailbox list index is only an index, while have_backend==FALSE means
that the mailbox list index is the only source for the list of mailboxes
(= list index is the backend).

  Commit: 454e130ea23d02bcc6b8a114c0dd5e0967c57088
      https://github.com/dovecot/core/commit/454e130ea23d02bcc6b8a114c0dd5e0967c57088
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-master/ipc-client.c

  Log Message:
  -----------
  lib-master: ipc-client: Don't free command too early

When multiple replies were received by IPC only the final reply should free
the command. This may have caused e.g. "doveadm proxy list" to crash.
Broken by 435f0545b200767c25a5daee17cd6b4998d03710

  Commit: 2a6dafff6df682a51920aa8ed4f2335ec8a24766
      https://github.com/dovecot/core/commit/2a6dafff6df682a51920aa8ed4f2335ec8a24766
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/director/director.c

  Log Message:
  -----------
  director: Allow fully freeing user while waiting for IPC kick to finish

director_user_move_free() will now just free the IPC command, so this isn't
a problem anymore.

  Commit: a5b0cc848a0974a7f0ef370eb0e0907c86d2663d
      https://github.com/dovecot/core/commit/a5b0cc848a0974a7f0ef370eb0e0907c86d2663d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/director/director.c
    M src/director/director.h

  Log Message:
  -----------
  director: Fix crash when user kill times out before IPC finishes

Abort the IPC kick command when freeing kill context so the IPC callback
won't be called.

  Commit: 30b2cff61a4cd6a9c53b57dde62c295f7ec5b9a3
      https://github.com/dovecot/core/commit/30b2cff61a4cd6a9c53b57dde62c295f7ec5b9a3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-master/ipc-client.c
    M src/lib-master/ipc-client.h

  Log Message:
  -----------
  lib-master: ipc-client: Support aborting commands

  Commit: 247e4fcea96e1bdb23c1b59ef0739ef3cc74a0ff
      https://github.com/dovecot/core/commit/247e4fcea96e1bdb23c1b59ef0739ef3cc74a0ff
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-master/ipc-client.c

  Log Message:
  -----------
  lib-master: ipc-client: Cleanup - avoid extra return in the function

Simplifies the following commit.

  Commit: 21bfa60c2bc6d6d4f83717d4aa24557baa67b11f
      https://github.com/dovecot/core/commit/21bfa60c2bc6d6d4f83717d4aa24557baa67b11f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-master/ipc-client.c

  Log Message:
  -----------
  lib-master: ipc-client: Never call callback directly from ipc_client_cmd()

This may simplify the calling code, especially after the following commit
that returns the command pointer.

  Commit: 19e998fe11363e29ea937b929723c05cbd8a201c
      https://github.com/dovecot/core/commit/19e998fe11363e29ea937b929723c05cbd8a201c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-master/ipc-client.c

  Log Message:
  -----------
  lib-master: ipc-client: Split code to ipc_client_abort_commands()

  Commit: 1e57b04087d2e7fa524bd7f282c1e8dcea5f03cf
      https://github.com/dovecot/core/commit/1e57b04087d2e7fa524bd7f282c1e8dcea5f03cf
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-master/ipc-client.c

  Log Message:
  -----------
  lib-master: ipc-client: Use linked list of commads instead of array

Needed for the following commit that returns the command pointer.

  Commit: 4a3dfb3b36c1ea0dc207c5954643295a41b70060
      https://github.com/dovecot/core/commit/4a3dfb3b36c1ea0dc207c5954643295a41b70060
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-master/ipc-client.c

  Log Message:
  -----------
  lib-master: ipc-client: Don't call callback twice if IPC proxy sends invalid input

ipc_client_disconnect() called it once, and the second time was done with
the cmds[0] that was already removed from the array.

  Commit: b068160536f4147a93df8a4964f0751139726196
      https://github.com/dovecot/core/commit/b068160536f4147a93df8a4964f0751139726196
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/pop3/pop3-client.h
    M src/pop3/pop3-commands.c

  Log Message:
  -----------
  pop3: Do not expunge \Deleted mails without QUIT

Prevents loss of email if connection
is unexpectedly terminated.

  Commit: 1ddf753ae6e06686e38df047c42850e31fc39601
      https://github.com/dovecot/core/commit/1ddf753ae6e06686e38df047c42850e31fc39601
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

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

  Log Message:
  -----------
  lib-storage: Fix bodystructure parsing crash if header is parsed twice

The second parsing will recreate the parser_ctx, discarding the old parsed
message_part.data for the header. On the second parsing
save_bodystructure_header=FALSE so the message_part.data isn't filled for
the header. Later on the bodystructure parsing assumes the data is set,
and crashes.

This only happened with mail_attachment_detection_options=add-flags-on-save
and Sieve script that first accessed a non-cached header and then used the
"body" extension.

Fixes segfault and also:
Panic: file imap-bodystructure.c: line 116 (part_write_body_multipart): assertion failed: (part->data != NULL)

  Commit: 0fabf67d95d55ff18ddc3d84aa25350b2c4ed171
      https://github.com/dovecot/core/commit/0fabf67d95d55ff18ddc3d84aa25350b2c4ed171
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-mail/message-part-data.c

  Log Message:
  -----------
  lib-mail: Add asserts to message_part_*() to make sure part->data isn't NULL

This makes it easier to debug the crashes than just having a segfault.

  Commit: 63ad91f05d5fcffba47deb6dc893d42519c8ca1e
      https://github.com/dovecot/core/commit/63ad91f05d5fcffba47deb6dc893d42519c8ca1e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib/istream-try.c
    M src/lib/test-istream-try.c

  Log Message:
  -----------
  lib: istream-try - Don't assert-crash with empty parent istream

Fixes:
Panic: file istream.c: line 327 (i_stream_read_memarea): assertion failed: (stream->eof)

  Commit: 5c398e9109ab8bc02d9439d865ba61d8a2adb127
      https://github.com/dovecot/core/commit/5c398e9109ab8bc02d9439d865ba61d8a2adb127
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-imap/imap-bodystructure.c

  Log Message:
  -----------
  lib-imap: Remove content_subtype==NULL checks

This can never happen after the previous commit. This also changes the
BODYSTRUCTURE output for invalid Content-Types, but since they're invalid
anyway it doesn't really matter what the output is.

  Commit: 41bd7fb657bccf595955bb05039207a4fcbf9b6c
      https://github.com/dovecot/core/commit/41bd7fb657bccf595955bb05039207a4fcbf9b6c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-mail/message-part-data.c

  Log Message:
  -----------
  lib-mail: If message_part_data.content_type is set, make sure content_subtype isn't NULL

This fixes a crash in index_mail_find_first_text_mime_part() where snippet
generation assumed that content_subtype isn't NULL.

  Commit: 5e5eda64bdf61e5ce200f6a4474e594245777c10
      https://github.com/dovecot/core/commit/5e5eda64bdf61e5ce200f6a4474e594245777c10
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-06-07 (Thu, 07 Jun 2018)

  Changed paths:
    M src/lib/ioloop.c

  Log Message:
  -----------
  lib: io_loop_context_new() - deactivate old context

Since it changes the current context, it needs to deactivate the old one.

  Commit: e966650fe6fc2726ddad6f733399f2de9b54cf39
      https://github.com/dovecot/core/commit/e966650fe6fc2726ddad6f733399f2de9b54cf39
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-06-06 (Wed, 06 Jun 2018)

  Changed paths:
    M src/lib-dcrypt/istream-decrypt.c

  Log Message:
  -----------
  lib-dcrypt: istream-decrypt - Add support for getting stream size

  Commit: 65d1da3394be07963752ab2ffdb4b2fb9b6cbbd6
      https://github.com/dovecot/core/commit/65d1da3394be07963752ab2ffdb4b2fb9b6cbbd6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-06-06 (Wed, 06 Jun 2018)

  Changed paths:
    M src/lib-dcrypt/istream-decrypt.c
    M src/lib-dcrypt/test-stream.c

  Log Message:
  -----------
  lib-dcrypt: istream-decrypt - Add support for seeking

  Commit: 1d57ef7d8647fcf48d35e7fc63e41cc06467e332
      https://github.com/dovecot/core/commit/1d57ef7d8647fcf48d35e7fc63e41cc06467e332
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-06-06 (Wed, 06 Jun 2018)

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

  Log Message:
  -----------
  lib: Add i_stream_nonseekable_try_seek()

This can be used by istreams to more easily implement seeking backwards when
it has to be done by first seeking back to offset 0 and reading from there.

  Commit: 3c61125889767b71fa36199e2751aa94cd71bfd7
      https://github.com/dovecot/core/commit/3c61125889767b71fa36199e2751aa94cd71bfd7
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-06-04 (Mon, 04 Jun 2018)

  Changed paths:
    M src/lib-storage/index/pop3c/pop3c-storage.c

  Log Message:
  -----------
  pop3c: Ensure pop3c index directory is autocreated

Otherwise we might think that the box has been unexpectedly
autodeleted and pop3_migration will fail.

Broken by 91ee70ed04d33fecd7fc94621f236013d520d7b3

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

  Changed paths:
    M src/lib-sql/driver-cassandra.c

  Log Message:
  -----------
  cassandra: Fix empty binary parameters with prepared statements

Fixes:
Panic: Trying to allocate 0 bytes

  Commit: 92288914015b6fe780a7823a6af54797d097aba6
      https://github.com/dovecot/core/commit/92288914015b6fe780a7823a6af54797d097aba6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-05-25 (Fri, 25 May 2018)

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

  Log Message:
  -----------
  fs-posix: Support FS_METADATA_WRITE_FNAME for fs_copy()

  Patch: https://github.com/dovecot/core/compare/1f10bfa6335f...5d621cf65a8e.patch


More information about the dovecot-cvs mailing list