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

GitHub noreply at github.com
Wed Mar 21 09:30:46 EET 2018


  Branch: refs/heads/master-2.3
  Home:   https://github.com/dovecot/core
  Commit: 3e12b7187a2c6553b6437ec265ad457d55f5b33a
      https://github.com/dovecot/core/commit/3e12b7187a2c6553b6437ec265ad457d55f5b33a
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-03-21 (Wed, 21 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: 857df38dbcefa697c3b5f9d509e825884960b3e5
      https://github.com/dovecot/core/commit/857df38dbcefa697c3b5f9d509e825884960b3e5
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-03-21 (Wed, 21 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/28cbdea85b1e...857df38dbcef


More information about the dovecot-cvs mailing list