[dovecot/core] fd296f: lib-mail: If message_part_data.content_type is set...

GitHub noreply at github.com
Fri Jul 27 02:00:06 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: fd296f19d085a43f07733a8fc110e7a614151b12
      https://github.com/dovecot/core/commit/fd296f19d085a43f07733a8fc110e7a614151b12
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-26 (Thu, 26 Jul 2018)

  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.


  Commit: 5ef09aa76266c39414fe91095ef2980bd1bad877
      https://github.com/dovecot/core/commit/5ef09aa76266c39414fe91095ef2980bd1bad877
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-26 (Thu, 26 Jul 2018)

  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.


Compare: https://github.com/dovecot/core/compare/a14b731f3c87...5ef09aa76266
      **NOTE:** This service 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