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

GitHub noreply at github.com
Tue Mar 13 10:30:39 EET 2018


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: bbf627b369fce89cef8d575cbd3d86e94673f5d4
      https://github.com/dovecot/core/commit/bbf627b369fce89cef8d575cbd3d86e94673f5d4
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-03-13 (Tue, 13 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: 3ed1503a2c6ffc1370c40792d869e9f30a7fee61
      https://github.com/dovecot/core/commit/3ed1503a2c6ffc1370c40792d869e9f30a7fee61
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-03-13 (Tue, 13 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


Compare: https://github.com/dovecot/core/compare/da7fc275b56c...3ed1503a2c6f


More information about the dovecot-cvs mailing list