[dovecot/core] f95afa: uri-util: The uri_parse_host_name_dns() would segf...

GitHub noreply at github.com
Mon May 16 19:00:13 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: f95afa9df14bee49d82baa3679fc94ef3a101d92
      https://github.com/dovecot/core/commit/f95afa9df14bee49d82baa3679fc94ef3a101d92
  Author: Stephan Bosch <stephan at rename-it.nl>
  Date:   2016-05-16 (Mon, 16 May 2016)

  Changed paths:
    M src/lib/uri-util.c

  Log Message:
  -----------
  uri-util: The uri_parse_host_name_dns() would segfault if the hostname_r parameter was NULL.


  Commit: 14383bf2be0296954609df5afd3c63c6555815f9
      https://github.com/dovecot/core/commit/14383bf2be0296954609df5afd3c63c6555815f9
  Author: Stephan Bosch <stephan at rename-it.nl>
  Date:   2016-05-16 (Mon, 16 May 2016)

  Changed paths:
    M src/lib/uri-util.c

  Log Message:
  -----------
  uri-util: Two ATTR_NULL specifications were misplaced or wrong.


  Commit: d3b0b5d2389acc43c75b63d2960daf82cf1f8aa7
      https://github.com/dovecot/core/commit/d3b0b5d2389acc43c75b63d2960daf82cf1f8aa7
  Author: Stephan Bosch <stephan at rename-it.nl>
  Date:   2016-05-16 (Mon, 16 May 2016)

  Changed paths:
    M src/lib-http/http-url.c
    M src/lib-imap/imap-url.c
    M src/lib/uri-util.c
    M src/lib/uri-util.h

  Log Message:
  -----------
  uri-util: Changed URI host/authority parsing API to not use a boolean.

The boolean indicated whether the basic reg-name syntax or the more limited Internet host name syntax was to be expected.
This change creates separate functions for this.


  Commit: 2a444bfedc0ee4db6ff92eb7fe5cdfd85b8e3379
      https://github.com/dovecot/core/commit/2a444bfedc0ee4db6ff92eb7fe5cdfd85b8e3379
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-16 (Mon, 16 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: 44ef49403ac7bddac84a1e322d170ed53cd37c95
      https://github.com/dovecot/core/commit/44ef49403ac7bddac84a1e322d170ed53cd37c95
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-16 (Mon, 16 May 2016)

  Changed paths:
    M src/lib-mail/istream-header-filter.c
    M src/lib-mail/test-istream-header-filter.c
    M src/plugins/pop3-migration/pop3-migration-plugin.c

  Log Message:
  -----------
  lib-mail: Fixed istream-header-filter callback's matched with eoh

Reversed the matched-parameter handling for hdr->eoh, so it's consistent
with non-eoh headers.


Compare: https://github.com/dovecot/core/compare/9184983183ae...44ef49403ac7


More information about the dovecot-cvs mailing list