Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder

2020-09-23 Thread Noah Meyerhans
Control: tags -1 + upstream fixed-upstream buster stretch On Wed, Sep 23, 2020 at 08:41:19AM -0700, Noah Meyerhans wrote: > > Sep 21 14:04:00 hostname dovecot: > > imap(username)<29488>: Panic: file message-parser.c: > > line 174 (message_part_finish): assertion failed: > > (ct

Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder

2020-09-23 Thread Noah Meyerhans
On Wed, Sep 23, 2020 at 01:34:26PM +0300, Timo Sirainen wrote: > Sep 21 14:04:00 hostname dovecot: > imap(username)<29488>: Panic: file message-parser.c: > line 174 (message_part_finish): assertion failed: > (ctx->nested_parts_count > 0) > >Oh, right, this is fixed >by:

Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder

2020-09-23 Thread Timo Sirainen
On 21. Sep 2020, at 16.43, Dimitry Andric wrote: > > Sep 21 14:04:00 hostname dovecot: imap(username)<29488>: > Panic: file message-parser.c: line 174 (message_part_finish): assertion > failed: (ctx->nested_parts_count > 0) Oh, right, this is fixed by: https://github.com/dovecot/core/commit/a

Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder

2020-09-22 Thread Noah Meyerhans
On Mon, Sep 21, 2020 at 03:43:32PM -0700, Noah Meyerhans wrote: > > Note, I cannot attach these mails to this message, as otherwise the > > Debian bug system refuses them, since they appear to contain malware, > > which was probably the spammer's intent. So I uploaded them here: > > > > https://ww

Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder

2020-09-21 Thread Noah Meyerhans
Control: tags -1 + confirmed On Mon, Sep 21, 2020 at 03:43:31PM +0200, Dimitry Andric wrote: > I managed to track down at least three mails that seem to cause this > panic, which appears to be caused by bad MIME headers. (Spammers are > rather fond of these. :) > > Note, I cannot attach these mai

Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder

2020-09-21 Thread Dimitry Andric
I have also seen similar panic messages, when a user was searching for some plain text in their inbox, e.g.: Sep 21 13:48:12 hostname dovecot: imap-login: Login: user=, method=LOGIN, rip=12.34.56.78, lip=23.45.67.89, mpid=29488, TLS, session= Sep 21 14:04:00 hostname dovecot: imap(username)<2948

Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder

2020-09-20 Thread Noah Meyerhans
On Fri, Sep 18, 2020 at 12:05:09AM +0300, Timo Sirainen wrote: > > One of my IMAP users reports failures when trying to do full-text > > searches of a large (3G) mailbox; subject-only searches are OK. > > > > The backtrace in syslog is: > > > > Sep 15 11:51:37 aragorn dovecot: imap(atreic): Panic

Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder

2020-09-17 Thread Timo Sirainen
On 15. Sep 2020, at 14.00, Matthew Vernon wrote: > One of my IMAP users reports failures when trying to do full-text > searches of a large (3G) mailbox; subject-only searches are OK. > > The backtrace in syslog is: > > Sep 15 11:51:37 aragorn dovecot: imap(atreic): Panic: file message-parser.c:

Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder

2020-09-15 Thread Matthew Vernon
Package: dovecot-imapd Version: 1:2.2.27-3+deb9u6 Severity: important Hi, One of my IMAP users reports failures when trying to do full-text searches of a large (3G) mailbox; subject-only searches are OK. The backtrace in syslog is: Sep 15 11:51:37 aragorn dovecot: imap(atreic): Panic: file mess