[dovecot/core] 23da0f: ostream-zlib: Ignore missing finish if parent stre...

GitHub noreply at github.com
Mon Jan 8 13:00:11 EET 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 23da0fa1b30cc11bcc1d467674a0950c527e9ff1
      https://github.com/dovecot/core/commit/23da0fa1b30cc11bcc1d467674a0950c527e9ff1
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-01-06 (Sat, 06 Jan 2018)

  Changed paths:
    M src/lib-compression/ostream-zlib.c

  Log Message:
  -----------
  ostream-zlib: Ignore missing finish if parent stream is ignoring errors

This fixes panic with imap_zlib plugin when client enables the IMAP COMPRESS
extension and disconnects:

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




More information about the dovecot-cvs mailing list