[dovecot/core] b35c90: dict-redis: Fixed memory leak in async commit

GitHub noreply at github.com
Thu May 19 09:00:16 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: b35c9039d95af2753253f8fa5c052c3114e0b11d
      https://github.com/dovecot/core/commit/b35c9039d95af2753253f8fa5c052c3114e0b11d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-19 (Thu, 19 May 2016)

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

  Log Message:
  -----------
  dict-redis: Fixed memory leak in async commit


  Commit: 71bcaeb23954e591413dd5661df61caa3db17262
      https://github.com/dovecot/core/commit/71bcaeb23954e591413dd5661df61caa3db17262
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M src/lib-sql/sql-db-cache.c

  Log Message:
  -----------
  lib-sql: Memory leak fix when freeing sql dbs from cache

Normally happened only at deinit.


  Commit: 015c15fd5fd64abfcb55ee93a54f0a5c32be4082
      https://github.com/dovecot/core/commit/015c15fd5fd64abfcb55ee93a54f0a5c32be4082
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-19 (Thu, 19 May 2016)

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

  Log Message:
  -----------
  lib-ldap: Compiling fix - don't pass through void return


  Commit: 3a02e96bd6902de51711735bc282801ccd13c6a9
      https://github.com/dovecot/core/commit/3a02e96bd6902de51711735bc282801ccd13c6a9
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M src/lib-ldap/ldap-connection.c

  Log Message:
  -----------
  lib-ldap: Do not create new context and lose settings


  Commit: 72c15660f6caaf0fab9682e290a50dc9e3b7097b
      https://github.com/dovecot/core/commit/72c15660f6caaf0fab9682e290a50dc9e3b7097b
  Author: Phil Carmody <phil at dovecot.fi>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M src/lib/istream.h

  Log Message:
  -----------
  lib: istream - provide alternatives to i_stream_read_data()

Providing as a parameter the number of bytes that you would be
disappointed to receive was confusing compared to providing the
number that you would be happy to receive. This lets us get rid
of all the '-1's in the callers. The callers which used 0 as
a parameter were so common that it's worth providing a separate
API just to simplify their demands.

Deep down, these are still the same underlying function. Currently
we route the new API through the old one, but eventually, the old
API can be routed through the new one, so that the friendlier
interface has the simplest implementation.

Signed-off-by: Phil Carmody <phil at dovecot.fi>


  Commit: b6d4252dc8c01b45055796ad290f3fd7cb5ff88a
      https://github.com/dovecot/core/commit/b6d4252dc8c01b45055796ad290f3fd7cb5ff88a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M src/lib-ldap/ldap-connection.c

  Log Message:
  -----------
  lib-ldap: Fixed assert-crash when killing LDAP connection.

libldap may have already closed the fd, so with epoll io_remove() would
try to remove it and crash with:

Panic: epoll_ctl(del, 12) failed: Bad file descriptor


  Commit: 9b496d96f9c985c29b398d2f4c33a7163239c52e
      https://github.com/dovecot/core/commit/9b496d96f9c985c29b398d2f4c33a7163239c52e
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M src/doveadm/doveadm-mail-mailbox.c
    M src/doveadm/doveadm-mail.c
    M src/doveadm/doveadm-mail.h

  Log Message:
  -----------
  doveadm-mailbox: Add update subcommand


  Commit: f008446315fdc50f4f8cdf5c786e885179afd333
      https://github.com/dovecot/core/commit/f008446315fdc50f4f8cdf5c786e885179afd333
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M src/imap/imap-client.c
    M src/imap/imap-client.h
    M src/imap/imap-sync.c

  Log Message:
  -----------
  imap: Include sync timing information in tagged command replies.
Show it only when it's larger than 0 to avoid unnecessary output.


  Commit: 744fa5af70c19cce03974217302328bbe137d8dd
      https://github.com/dovecot/core/commit/744fa5af70c19cce03974217302328bbe137d8dd
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M src/dict/dict-connection.c

  Log Message:
  -----------
  dict: Fix crash when no dictionaries defined


  Commit: e17d7f4e6396e5345386132d788f3a13c8ae88f5
      https://github.com/dovecot/core/commit/e17d7f4e6396e5345386132d788f3a13c8ae88f5
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M src/doveadm/doveadm-mail-mailbox.c

  Log Message:
  -----------
  doveadm-mailbox-delete: Restore recursive parameter


  Commit: 94e8a82e51c24edafaa9a9e154c4df0150f78a99
      https://github.com/dovecot/core/commit/94e8a82e51c24edafaa9a9e154c4df0150f78a99
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M src/lib/ioloop-epoll.c

  Log Message:
  -----------
  lib: If epoll_ctl() fails, panic instead of just fatal.

This makes it easier to fix such bugs.


  Commit: 580cfdf2535cc07436fe6ec75680a1b53026ae46
      https://github.com/dovecot/core/commit/580cfdf2535cc07436fe6ec75680a1b53026ae46
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M src/lib-http/http-client-request.c
    M src/lib-http/http-server-response.c

  Log Message:
  -----------
  lib-http: Fixed checking if istream or ostream needs waiting.


  Commit: 06bd6c4d4b6d88a1f9eb2723c2924ecda1d536bc
      https://github.com/dovecot/core/commit/06bd6c4d4b6d88a1f9eb2723c2924ecda1d536bc
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M src/lib-mail/istream-header-filter.c
    M src/lib-mail/test-istream-header-filter.c

  Log Message:
  -----------
  lib-mail: istream-header-filter - Don't return -2 too early

We returned -2 after we already added the data to the buffer. We should
have returned -2 only on the next read() call if nothing was skipped.


  Commit: 81f0bc16544ab84eebd851a56487bce94f1d2d62
      https://github.com/dovecot/core/commit/81f0bc16544ab84eebd851a56487bce94f1d2d62
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M src/lib-fs/istream-metawrap.c

  Log Message:
  -----------
  lib-fs: istream-metawrap can't have a readable fd currently


  Commit: dca07197ab5bc2ba29f30d6c3814c24f7518d1f2
      https://github.com/dovecot/core/commit/dca07197ab5bc2ba29f30d6c3814c24f7518d1f2
  Author: Baofeng Wang <baofeng.wang at dovecot.fi>
  Date:   2016-05-19 (Thu, 19 May 2016)

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

  Log Message:
  -----------
  config: fix possible out-of-bound access in parsing function

Add low-bound check when decreasing string pointer from tail.


Compare: https://github.com/dovecot/core/compare/26758def5493...dca07197ab5b


More information about the dovecot-cvs mailing list