[dovecot/pigeonhole] e51a62: plugins: imapsieve: Fix assert panic occurring whe...

GitHub noreply at github.com
Mon Aug 6 13:30:05 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/pigeonhole
  Commit: e51a625ac724242c8f321e2131b42669af9b77fd
      https://github.com/dovecot/pigeonhole/commit/e51a625ac724242c8f321e2131b42669af9b77fd
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-08-05 (Sun, 05 Aug 2018)

  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)



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list