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

GitHub noreply at github.com
Tue Oct 24 14:30:13 EEST 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 6207b9633780dcbc253c7f065c05740351a04e48
      https://github.com/dovecot/core/commit/6207b9633780dcbc253c7f065c05740351a04e48
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-24 (Tue, 24 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