[dovecot/core] fa7d40: imap-login: Fix crash in ID if trusted client send...

GitHub noreply at github.com
Wed Jun 14 17:30:10 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: fa7d4026316cfa6fcd084487d895743c79bd7ec6
      https://github.com/dovecot/core/commit/fa7d4026316cfa6fcd084487d895743c79bd7ec6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-06-14 (Wed, 14 Jun 2017)

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

  Log Message:
  -----------
  imap-login: Fix crash in ID if trusted client sends NIL value to internal field

Fixes:
Panic: imap-login: file imap-login-client.c: line 215 (cmd_id_handle_keyvalue): assertion failed: (client_id_str == !client_id_reserved_word(key))


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

  Changed paths:
    M src/imap-login/imap-proxy.c

  Log Message:
  -----------
  imap-login: Remove duplicate spaces between ID x-forward parameters


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

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

  Log Message:
  -----------
  lib-master: anvil_client_query() delay calling callback on failures

This fixes crash in lmtp on anvil connect failure where the callback wasn't
expecting to be called so early.


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

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

  Log Message:
  -----------
  imapc: Avoid sending FETCH BODY[HEADER] when BODY[] is already being fetched

This probably only shows up in some special situations with plugins.


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

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

  Log Message:
  -----------
  imapc: Fix prefetching specific headers

FETCH BODY[HEADER.FIELDS ...] shouldn't be used if imapc_features doesn't
include fetch-headers. Also neither this nor BODY[HEADER] should be sent
if we already have header/body stream.


Compare: https://github.com/dovecot/core/compare/df74814b12ef...fe080d248e2b


More information about the dovecot-cvs mailing list