Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 756094 - net-mail/dovecot-2.3.11.3 server-side search crashes with assertion failed: (ctx->nested_parts_count > 0
Summary: net-mail/dovecot-2.3.11.3 server-side search crashes with assertion failed: (...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Eray Aslan
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-11-22 17:06 UTC by Alexander Brüning
Modified: 2020-11-23 11:41 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch from https://github.com/dovecot/core/commit/a668d767a710ca18ab6e7177d8e8be22a6b024fb?branch=a668d767a710ca18ab6e7177d8e8be22a6b024fb&diff=unified (dovecot-2.3.11.3-mime-boundary-fix.patch,3.12 KB, patch)
2020-11-22 17:06 UTC, Alexander Brüning
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Brüning 2020-11-22 17:06:01 UTC
When performing an on-server search via IMAP client, Dovecot crashes instead.

Panic: file message-parser.c: line 174 (message_part_finish): assertion failed: (ctx->nested_parts_count > 0)

The problem is known to the developers and the Debian version has been patched:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970386.

https://github.com/dovecot/core/commit/a668d767a710ca18ab6e7177d8e8be22a6b024fb?branch=a668d767a710ca18ab6e7177d8e8be22a6b024fb&diff=unified


Reproducible: Always
Comment 2 Larry the Git Cow gentoo-dev 2020-11-23 11:41:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5f547e8cd9631d22431480e0ffdb307539b2915

commit f5f547e8cd9631d22431480e0ffdb307539b2915
Author:     Eray Aslan <eras@gentoo.org>
AuthorDate: 2020-11-23 11:39:42 +0000
Commit:     Eray Aslan <eras@gentoo.org>
CommitDate: 2020-11-23 11:41:04 +0000

    net-mail/dovecot: fix assert crash when searching
    
    thanks to Alexander Brüning
    Closes: https://bugs.gentoo.org/756094
    Package-Manager: Portage-3.0.10, Repoman-3.0.2
    Signed-off-by: Eray Aslan <eras@gentoo.org>

 net-mail/dovecot/dovecot-2.3.11.3-r2.ebuild        | 297 +++++++++++++++++++++
 .../dovecot/files/dovecot-fix-search-crash.patch   |  91 +++++++
 2 files changed, 388 insertions(+)