[dovecot/core] 5b0b45: lib-storage: Fix assert-crash when searching heade...

GitHub noreply at github.com
Mon Oct 23 10:30:11 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 5b0b45ba0b6250d5feb17d6cfccf61eb89f26178
      https://github.com/dovecot/core/commit/5b0b45ba0b6250d5feb17d6cfccf61eb89f26178
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-23 (Mon, 23 Oct 2017)

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

  Log Message:
  -----------
  lib-storage: Fix assert-crash when searching header and MIMEPART

For now this is just a bit kludgy workaround. The proper fix requires
larger changes, which aren't worth the effort right now.

For example:
doveadm fetch -u testuser uid MAILBOX inbox FROM foo MIMEPART FILENAME CONTAINS bar BODY baz

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




More information about the dovecot-cvs mailing list