[dovecot/core] d97dad: lib-dict: Duplicate result value in mempool

GitHub noreply at github.com
Wed Oct 19 13:00:13 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: d97dad4bbcacd6a38b271bde57a2f60ba0a5d7fd
      https://github.com/dovecot/core/commit/d97dad4bbcacd6a38b271bde57a2f60ba0a5d7fd
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

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

  Log Message:
  -----------
  lib-dict: Duplicate result value in mempool

Duplicate the result value already in callback
to avoid it getting lost during async calls.

Reported & tested by Pierre Jaury.


  Commit: 1b69afd91e9b38b935190c5683e9f83a189c68aa
      https://github.com/dovecot/core/commit/1b69afd91e9b38b935190c5683e9f83a189c68aa
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

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

  Log Message:
  -----------
  lib-dict: Added dict_iterate_set_limit()


  Commit: df6bf0202815c053fd1d9ed16e792445dcd182bb
      https://github.com/dovecot/core/commit/df6bf0202815c053fd1d9ed16e792445dcd182bb
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

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

  Log Message:
  -----------
  dict-sql: Use LIMIT in SQL queries with dict_iterate_set_limit()


  Commit: d88f6e11c97d2b74de3e5343e82b4630f16157a2
      https://github.com/dovecot/core/commit/d88f6e11c97d2b74de3e5343e82b4630f16157a2
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

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

  Log Message:
  -----------
  auth-policy: Use request's pool instead of new pool

This fixes existing memory leak in auth_report,
which is caused by using separate memory pool
instead of request's pool.

Thank you for Andrea Carpani for extensive
debugging.


  Commit: 8e104e2bce03c1cb410b1aff5100a0e1074c11ca
      https://github.com/dovecot/core/commit/8e104e2bce03c1cb410b1aff5100a0e1074c11ca
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

  Changed paths:
    M src/lib/strfuncs.c
    M src/lib/strfuncs.h

  Log Message:
  -----------
  lib: Add null_strcasecmp


  Commit: 72d1b1675b702c65b79875d5aad4a306c7370c96
      https://github.com/dovecot/core/commit/72d1b1675b702c65b79875d5aad4a306c7370c96
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

  Changed paths:
    M src/config/config-filter.c

  Log Message:
  -----------
  config: Compare local_name case insensitive

DNS and certificate names should be compared
case insensitive.


  Commit: ad485aeb133ab81cde6fa153c38f64f79320cf5d
      https://github.com/dovecot/core/commit/ad485aeb133ab81cde6fa153c38f64f79320cf5d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

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

  Log Message:
  -----------
  lib-imap: Don't write a broken Content-Type as text/plain to BODYSTRUCTURE

Mainly because it doesn't match with MESSAGE_PART_FLAG_TEXT in message_part.


  Commit: c0c6115e007ab0efdd56ee8fa2b83d8cc007e159
      https://github.com/dovecot/core/commit/c0c6115e007ab0efdd56ee8fa2b83d8cc007e159
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

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

  Log Message:
  -----------
  lib-imap: imap_bodystructure_parse() ignores text/plain flag mismatch for now.

Maybe we can enable it some day far into the future, but for now this just
causes unnecessary cache file rebuilds.


  Commit: 6a44e1eeedcad65f226489eaec8dd997b8e174e4
      https://github.com/dovecot/core/commit/6a44e1eeedcad65f226489eaec8dd997b8e174e4
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

  Changed paths:
    M src/lib-mail/istream-attachment-extractor.c
    M src/lib-mail/message-decoder.c
    M src/lib-mail/message-parser.c
    M src/lib-mail/message-search.c
    M src/plugins/fts/fts-build-mail.c

  Log Message:
  -----------
  global: Handle broken Content-Type headers consistently.

1) Only the first Content-Type header is used. (Simpler than using the last.)

2) Invalid Content-Types are parsed as far as we can. This is mainly to make
sure they aren't treated as missing Content-Types, which could cause them to
become text/plain.


  Commit: 3a23ef7adc3f8d4831b38e7334814e6456332441
      https://github.com/dovecot/core/commit/3a23ef7adc3f8d4831b38e7334814e6456332441
  Author: Steffen Templin <steffen.templin at open-xchange.com>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

  Changed paths:
    M src/plugins/push-notification/push-notification-driver-ox.c

  Log Message:
  -----------
  push-notification: Add unseen count to OX driver.


  Commit: 35aba69ff0beca2c28a2b4197e2a447c60f2d3fd
      https://github.com/dovecot/core/commit/35aba69ff0beca2c28a2b4197e2a447c60f2d3fd
  Author: Steffen Templin <steffen.templin at open-xchange.com>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

  Changed paths:
    M src/plugins/push-notification/push-notification-driver-ox.c

  Log Message:
  -----------
  push-notification: Re-open mailbox and sync it to get unseen count.


  Commit: 78cd02d1c0d7af2f7983993ce4f4dba7f0a708aa
      https://github.com/dovecot/core/commit/78cd02d1c0d7af2f7983993ce4f4dba7f0a708aa
  Author: Steffen Templin <steffen.templin at open-xchange.com>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

  Changed paths:
    M src/plugins/push-notification/push-notification-driver-ox.c

  Log Message:
  -----------
  push-notification: Resolve indentation problem


  Commit: 19fe8753f654d7e6e308142253d78d7c2c59b35a
      https://github.com/dovecot/core/commit/19fe8753f654d7e6e308142253d78d7c2c59b35a
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

  Changed paths:
    M src/doveadm/doveadm-dump-dcrypt-key.c

  Log Message:
  -----------
  doveadm: trim doveadm dump dcrypt-key input

dcrypt does not like extra newlines at the end of a key.


  Commit: 81465037782a81cee81845c5cb39beb050251ba3
      https://github.com/dovecot/core/commit/81465037782a81cee81845c5cb39beb050251ba3
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

  Changed paths:
    M src/lib-dcrypt/test-crypto.c

  Log Message:
  -----------
  lib-dcrypt: add a test for password change

Test that you can encrypt a key with password, encrypt a key with the
password protected key, change the password, and still load a key that you
encrypted with the key encrypted using the first password.


  Commit: d8c5d6f4e3e7a623fa4f93d61dbda720d926c3c3
      https://github.com/dovecot/core/commit/d8c5d6f4e3e7a623fa4f93d61dbda720d926c3c3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

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

  Log Message:
  -----------
  lib-storage: Make sure mailbox_uidvalidity_next() doesn't return 0.

0 isn't a valid IMAP UIDVALIDITY, and Dovecot treats 0 as "not assigned".


  Commit: 338bc725b24c78bf973c219e45a8a47e3a492139
      https://github.com/dovecot/core/commit/338bc725b24c78bf973c219e45a8a47e3a492139
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

  Changed paths:
    M src/lib/child-wait.c

  Log Message:
  -----------
  lib: Add reference counting to child_wait_pid


Compare: https://github.com/dovecot/core/compare/335e2460ee93...338bc725b24c


More information about the dovecot-cvs mailing list