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

GitHub noreply at github.com
Thu Oct 27 07:30:14 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 2732f22367cb674c0c0599530497c839eac41162
      https://github.com/dovecot/core/commit/2732f22367cb674c0c0599530497c839eac41162
  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: 0db2a56763517f5639caae2db9f2a3c25c08f335
      https://github.com/dovecot/core/commit/0db2a56763517f5639caae2db9f2a3c25c08f335
  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: f0c3eb66d9ec4e943d35f62fe5a74f466c948531
      https://github.com/dovecot/core/commit/f0c3eb66d9ec4e943d35f62fe5a74f466c948531
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-10-27 (Thu, 27 Oct 2016)

  Changed paths:
    M src/doveadm/doveadm-dump-index.c

  Log Message:
  -----------
  doveadm: fix compile warning in doveadm-dump-index


Compare: https://github.com/dovecot/core/compare/1f6e271318d7...f0c3eb66d9ec


More information about the dovecot-cvs mailing list