[dovecot/core] fd25b2: maildir: Don't crash with zlib plugin when saving ...

GitHub noreply at github.com
Tue Dec 4 13:30:09 EET 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: fd25b2c6367e9e1036839ff78e70f29675242f48
      https://github.com/dovecot/core/commit/fd25b2c6367e9e1036839ff78e70f29675242f48
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-12-04 (Tue, 04 Dec 2018)

  Changed paths:
    M src/lib-storage/index/maildir/maildir-save.c

  Log Message:
  -----------
  maildir: Don't crash with zlib plugin when saving is aborted

The ostream can be finished even if the saving had already failed. It gets
deleted anyway.

Fixes:
Panic: file ostream-zlib.c: line 37 (o_stream_zlib_close): assertion failed: (zstream->ostream.finished || zstream->ostream.ostream.stream_errno != 0 || zstream->ostream.error_handling_disabled)



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list