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

GitHub noreply at github.com
Fri Mar 16 14:30:37 EET 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: ba1a411211d59ad5dbbaa512d7403943f58aae92
      https://github.com/dovecot/core/commit/ba1a411211d59ad5dbbaa512d7403943f58aae92
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-03-16 (Fri, 16 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: 68efac63dc693168a6e18cc5107d00d9c3a11c5d
      https://github.com/dovecot/core/commit/68efac63dc693168a6e18cc5107d00d9c3a11c5d
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-03-16 (Fri, 16 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/e89bb85615cb...68efac63dc69


More information about the dovecot-cvs mailing list