[dovecot/core] f9c052: imap-hibernate: Fix "DONE" handling.

GitHub noreply at github.com
Thu Oct 27 13:03:36 UTC 2016


  Branch: refs/heads/release-2.2.26
  Home:   https://github.com/dovecot/core
  Commit: f9c05266efc5fc665b0563521a78853fe445167e
      https://github.com/dovecot/core/commit/f9c05266efc5fc665b0563521a78853fe445167e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-10-27 (Thu, 27 Oct 2016)

  Changed paths:
    M src/imap-hibernate/imap-client.c

  Log Message:
  -----------
  imap-hibernate: Fix "DONE" handling.

1. If only "DONE\r\n" was sent, it randomly failed with BAD because of
out-of-bounds buffer read.

2. If "DONE\r\n" was followed by a command tag but no space afterwards, we
kept waiting for the input to continue. But since the DONE was already sent,
we should break the IDLE already at that point without any further waiting.


  Commit: 92bcb6337fdc07d245a1a640324a84fad7abad31
      https://github.com/dovecot/core/commit/92bcb6337fdc07d245a1a640324a84fad7abad31
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-10-27 (Thu, 27 Oct 2016)

  Changed paths:
    M src/director/main.c

  Log Message:
  -----------
  director: Fix shutdown_clients=no to not break

The director process must shut down even with with shutdown_clients=no.
Otherwise the two director processes will try to keep competing with each
others and log errors like:

director: Warning: Director 10.0.0.123:9090/right disconnected us with reason: Replacing with new incoming connection
director: Warning: Director 10.0.0.123:9090/right disconnected us with reason: Replacing with 10.0.0.124:9090


  Commit: 54d654098032d96975b70749b505fae538e97f7a
      https://github.com/dovecot/core/commit/54d654098032d96975b70749b505fae538e97f7a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-10-27 (Thu, 27 Oct 2016)

  Changed paths:
    M NEWS
    M configure.ac

  Log Message:
  -----------
  Released v2.2.26.


Compare: https://github.com/dovecot/core/compare/17dc7ae8e36c...54d654098032


More information about the dovecot-cvs mailing list