[dovecot/core] 8c8d53: lib-dcrypt: istream-decrypt - Read more if buffer ...

GitHub noreply at github.com
Mon Mar 12 16:00:34 EET 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 8c8d530a17e4b37e5fc9a5dfdd532bbb9811f895
      https://github.com/dovecot/core/commit/8c8d530a17e4b37e5fc9a5dfdd532bbb9811f895
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-03-12 (Mon, 12 Mar 2018)

  Changed paths:
    M src/lib-dcrypt/istream-decrypt.c

  Log Message:
  -----------
  lib-dcrypt: istream-decrypt - Read more if buffer is empty

If there is no more buffered data, try to decrypt more.

- Fixes Panic: file istream.c: line 192 (i_stream_read): assertion failed: (!stream->blocking)
- Fixes infinite loop when stream is not blocking


  Commit: c1f57eab85dd686530328cffaa5ffce55997cc06
      https://github.com/dovecot/core/commit/c1f57eab85dd686530328cffaa5ffce55997cc06
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-03-12 (Mon, 12 Mar 2018)

  Changed paths:
    M src/lib-dcrypt/test-stream.c

  Log Message:
  -----------
  lib-dcrypt: test-stream - Ensure more is read when buffer becomes empty


  Commit: 687b901e956e05199a616da4818064a5c7baa8d7
      https://github.com/dovecot/core/commit/687b901e956e05199a616da4818064a5c7baa8d7
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-03-12 (Mon, 12 Mar 2018)

  Changed paths:
    M src/lib-storage/index/imapc/imapc-mailbox.c

  Log Message:
  -----------
  imapc: Don't try to add mails to index if they already exist there

Broken by 259a4ca5943123915a019799623d2e4a4ef7fd15 when imapc was used
with (not in-memory) index files.

This caused errors like "Append with UID 200, but next_uid = 201"


Compare: https://github.com/dovecot/core/compare/79a877bb2bd1...687b901e956e


More information about the dovecot-cvs mailing list