** Changed in: dovecot (Ubuntu Focal)
       Status: Incomplete => In Progress

** Description changed:

  [Impact]
  
  Searching emails triggers a assertion failure if malformed emails are
  present in the mail box.
  
  [Test Case]
- * TBD
+ With an INBOX containing a malformed email, perform a server-side search, 
such as:
+ 
+   # doveadm index
+   # doveadm search -u ubuntu mailbox inbox body blah
+ 
+ or
+ 
+   # doveadm search -u ubuntu mailbox inbox body JPMorgan
+ 
+ In an affected situation, this triggers an assertion failure in 
message-parser.c.
+ In an unaffected case, these searches will return one or more hash ids of 
email messages.
  
  [Where Problems Could Occur]
  This patch alters code involving iteration over a C linked list in
  relation to an assertion, so problems to look for would involve
  assertions, crashes or memory handling issues particularly associated
  with message handling functionality.  Further, as this section of code
  involves message processing, issues related to searching, organizizing,
  or otherwise iterating through email messages may be of relevance.
  
  Mitigating the risk is that the patch's actual change is simply to add a
  pre-condition to a section of logic, meaning that any issues would
  probably be limited to situations where preparsed messages are being
  handled.
  
  [Original Report]
  I'm experiencing identical behaviour to Debian bug #970386 
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970386) ... Can we please 
have this fix applied to dovecot-core 1:2.3.7.2-1ubuntu3? Searching is fairly 
broken atm.
  
  Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1912118

Title:
  assertion failure in message_part_finish when searching large folder

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/1912118/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to