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

GitHub noreply at github.com
Mon Oct 17 21:00:10 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 4f051c3082080b9d69ef12c3720c683cff34b0da
      https://github.com/dovecot/core/commit/4f051c3082080b9d69ef12c3720c683cff34b0da
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-10-17 (Mon, 17 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: 6acd1a48e1377e74d3008288e5e95e006f41265c
      https://github.com/dovecot/core/commit/6acd1a48e1377e74d3008288e5e95e006f41265c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-10-17 (Mon, 17 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: c27757ca7ce5eddaa91f04f19d675a400d45512a
      https://github.com/dovecot/core/commit/c27757ca7ce5eddaa91f04f19d675a400d45512a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-10-17 (Mon, 17 Oct 2016)

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

  Log Message:
  -----------
  dict-sql: Error handling fix & code cleanup

Only the first sql_dict_iterate_next_query() error was handled correctly.


  Commit: 4de62480228fb0a4d55e6892d13bc1722b562ee3
      https://github.com/dovecot/core/commit/4de62480228fb0a4d55e6892d13bc1722b562ee3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-10-17 (Mon, 17 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: 1db4d7625835a673dcb864374174bd342107a47c
      https://github.com/dovecot/core/commit/1db4d7625835a673dcb864374174bd342107a47c
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-10-17 (Mon, 17 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: 46b0db4a0d5b4a626323b39d14f0f407825b4a61
      https://github.com/dovecot/core/commit/46b0db4a0d5b4a626323b39d14f0f407825b4a61
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-10-17 (Mon, 17 Oct 2016)

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

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


  Commit: c19c44f87ef3fe40cae4be9a86ee9327a7370e46
      https://github.com/dovecot/core/commit/c19c44f87ef3fe40cae4be9a86ee9327a7370e46
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-10-17 (Mon, 17 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.


Compare: https://github.com/dovecot/core/compare/9b5fa7fdd9b9...c19c44f87ef3


More information about the dovecot-cvs mailing list