[dovecot/core] bc6904: lib-storage: Don't try to process header if we hav...

GitHub noreply at github.com
Mon Sep 10 15:00:14 EEST 2018


  Branch: refs/heads/master-2.3
  Home:   https://github.com/dovecot/core
  Commit: bc6904ecf48e0af50de9f7446f8644d536db387f
      https://github.com/dovecot/core/commit/bc6904ecf48e0af50de9f7446f8644d536db387f
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-09-10 (Mon, 10 Sep 2018)

  Changed paths:
    M src/lib-storage/index/index-mail-headers.c

  Log Message:
  -----------
  lib-storage: Don't try to process header if we haven't parsed the body structure

Fixes:
Panic: file index-mail-headers.c: line 294 (index_mail_parse_header): assertion failed: (part != NULL)


  Commit: acc24c1aa9727fe4c23369668bbce38686986a03
      https://github.com/dovecot/core/commit/acc24c1aa9727fe4c23369668bbce38686986a03
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-09-10 (Mon, 10 Sep 2018)

  Changed paths:
    M src/lib-storage/index/index-mail-headers.c

  Log Message:
  -----------
  lib-storage: Simplify an assertion condition

Since the i_assert() is guarded by a check for save_bodystructure_header
being true, the whole condition can be simplified.


  Commit: 1705fbf2ada4433822a658e8e172707d48771f4e
      https://github.com/dovecot/core/commit/1705fbf2ada4433822a658e8e172707d48771f4e
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-09-10 (Mon, 10 Sep 2018)

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

  Log Message:
  -----------
  lib-storage: Don't try to deserialize bodystructure if we already have it

Fixes:
Panic: file message-part-data.c: line 37 (message_part_data_is_plain_7bit): assertion failed: (data != NULL)


Compare: https://github.com/dovecot/core/compare/cebd034a4fab...1705fbf2ada4
      **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