[dovecot/pigeonhole | refs/heads/master-0.4] ff83a9a0: plugins: imapsieve: Fix assert panic occurring when a COPY event is triggered on a virtual mailbox.
    noreply at dovecot.org 
    noreply at dovecot.org
       
    Fri Jan 25 15:00:19 EET 2019
    
    
  
  Branch: refs/heads/master-0.4
  Home:   https://github.com/dovecot/pigeonhole
  Commit: ff83a9a0b2264ca5a93b7346923e9022db441853
      https://github.com/dovecot/pigeonhole/commit/ff83a9a0b2264ca5a93b7346923e9022db441853
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)
  Changed paths:
    M src/plugins/imapsieve/imap-sieve-storage.c
  Log Message:
  -----------
  plugins: imapsieve: Fix assert panic occurring when a COPY event is triggered on a virtual mailbox.
Occurs when several mails from different backend mailboxes are involved in the
COPY event. Fixed by using mail_save_context->>copy_src_mail in mailbox_copy()
instead of the mail argument. The latter can point to the backend mailbox for
virtual mailboxes, which makes no sense to the imapsieve plugin as it expects
only one source mailbox.
Panic was:
Panic: file imap-sieve-storage.c: line 337 (imap_sieve_add_mailbox_copy_event): assertion failed: (ismt->src_box == NULL || ismt->src_box == src_mail->box)
  Patch: https://github.com/dovecot/pigeonhole/compare/c735703f35bf...ff83a9a0b226.patch
    
    
More information about the dovecot-cvs
mailing list