[dovecot/core] ba9ac0: lib-http: client: Reset ips count to zero before D...

GitHub noreply at github.com
Sun Jul 8 13:30:06 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: ba9ac079c0d7298807087fb7b794700e0a0c8ef5
      https://github.com/dovecot/core/commit/ba9ac079c0d7298807087fb7b794700e0a0c8ef5
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-07-08 (Sun, 08 Jul 2018)

  Changed paths:
    M src/lib-http/http-client-host.c

  Log Message:
  -----------
  lib-http: client: Reset ips count to zero before DNS lookup.


  Commit: eb0113399990f07c39272ad322193a541b5d49fe
      https://github.com/dovecot/core/commit/eb0113399990f07c39272ad322193a541b5d49fe
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-07-08 (Sun, 08 Jul 2018)

  Changed paths:
    M src/lib-http/http-client-host.c

  Log Message:
  -----------
  lib-http: client: Notify host object about submission of request before submitting the request to the queue.

This makes sure the host idle timeout is stopped before the request is submitted
and the host object's refresh function is called. If the idle timeout is still
running at that point, the refresh function will return success without
performing a lookup, which can lead to a panic.

Panic was:

Panic: file ./http-client-private.h: line 672 (http_client_host_get_ip): assertion failed: (idx < host->shared->ips_count)


  Commit: 455abfe05f85f1fb65cfa2c72caad5a9c9d2efd7
      https://github.com/dovecot/core/commit/455abfe05f85f1fb65cfa2c72caad5a9c9d2efd7
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-08 (Sun, 08 Jul 2018)

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

  Log Message:
  -----------
  login-proxy: Fix potential crash when kicking user with alt username

If a new alt username field was returned after other users already were
being proxied, trying to kick with the new alt username field will crash.


  Commit: 899bf49d188782553a255c0263aea4710c2bb501
      https://github.com/dovecot/core/commit/899bf49d188782553a255c0263aea4710c2bb501
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-08 (Sun, 08 Jul 2018)

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

  Log Message:
  -----------
  login-proxy: Fix logging reason when kicking non-logged in connections

Use the same reason as for logged in connections.


  Commit: cbb091ceabb6e052a01690ae49e646a7d356ed31
      https://github.com/dovecot/core/commit/cbb091ceabb6e052a01690ae49e646a7d356ed31
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-08 (Sun, 08 Jul 2018)

  Changed paths:
    M src/lib-auth/auth-server-connection.c

  Log Message:
  -----------
  lib-auth: Fix reconnect timeout leak at deinit


Compare: https://github.com/dovecot/core/compare/265497d6d6e5...cbb091ceabb6
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list