[dovecot/core | refs/heads/master-2.2] 00955a07: lib: istream-try - Don't assert-crash with empty parent istream

noreply at dovecot.org noreply at dovecot.org
Fri Jan 25 11:30:19 EET 2019


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 00955a07bae07b323c72591a35387b3ace6c1068
      https://github.com/dovecot/core/commit/00955a07bae07b323c72591a35387b3ace6c1068
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib/istream-try.c
    M src/lib/test-istream-try.c

  Log Message:
  -----------
  lib: istream-try - Don't assert-crash with empty parent istream

Fixes:
Panic: file istream.c: line 327 (i_stream_read_memarea): assertion failed: (stream->eof)

  Commit: 882ca87421b83ec3fe17cc1a2266d892f0150fea
      https://github.com/dovecot/core/commit/882ca87421b83ec3fe17cc1a2266d892f0150fea
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-imap/imap-bodystructure.c

  Log Message:
  -----------
  lib-imap: Remove content_subtype==NULL checks

This can never happen after the previous commit. This also changes the
BODYSTRUCTURE output for invalid Content-Types, but since they're invalid
anyway it doesn't really matter what the output is.

  Commit: 7e3181a1876b70e0f0006de07c18f231ddffde31
      https://github.com/dovecot/core/commit/7e3181a1876b70e0f0006de07c18f231ddffde31
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-mail/message-part-data.c

  Log Message:
  -----------
  lib-mail: If message_part_data.content_type is set, make sure content_subtype isn't NULL

This fixes a crash in index_mail_find_first_text_mime_part() where snippet
generation assumed that content_subtype isn't NULL.

  Patch: https://github.com/dovecot/core/compare/38e2fe71c525...00955a07bae0.patch


More information about the dovecot-cvs mailing list