[dovecot/core] 360250: istream-mail: Move pos back when bailing out on er...

GitHub noreply at github.com
Wed Mar 28 14:30:19 EEST 2018


  Branch: refs/heads/master-2.3
  Home:   https://github.com/dovecot/core
  Commit: 36025085bd5972ae4b14ad50eb81f4a2bd28982b
      https://github.com/dovecot/core/commit/36025085bd5972ae4b14ad50eb81f4a2bd28982b
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-03-28 (Wed, 28 Mar 2018)

  Changed paths:
    M src/lib-storage/index/istream-mail.c

  Log Message:
  -----------
  istream-mail: Move pos back when bailing out on error

Fixes
Panic: file istream.c: line 276 (i_stream_read): assertion failed: ((_stream->pos - _stream->skip) == (prev_pos - prev_skip))


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

  Changed paths:
    M src/lib/istream-seekable.c

  Log Message:
  -----------
  istream-seekable: Record stream size in stat

Otherwise the size is shown 0


Compare: https://github.com/dovecot/core/compare/92b59eaeb726...c8efc7e504f1


More information about the dovecot-cvs mailing list