]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-storage: Don't try to set attachment keywords if bodystructure wasn't parsed
authorAki Tuomi <aki.tuomi@open-xchange.com>
Wed, 15 May 2019 07:49:09 +0000 (10:49 +0300)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Thu, 16 May 2019 07:18:07 +0000 (10:18 +0300)
commit7ceccd68bb49130e73e290eae4292cb0c76bff22
tree2fb940a9ca4538046e9cfd573803ec263419240e
parent45976e226c04500886a73bcef7af9d2c4154e338
lib-storage: Don't try to set attachment keywords if bodystructure wasn't parsed

This was broken in 057028e3f5567e21c964005ffccda1055fa86508 as there are
code paths leading here that omit bodystructure processing.

Fixes Panic: file index-mail.c: line 1150 (index_mail_parse_body_finish): assertion failed: (mail->data.parsed_bodystructure)
src/lib-storage/index/index-mail.c