[dovecot/core] 2912ea: lib-storage: Fix mailbox list notification assert-...

GitHub noreply at github.com
Wed Sep 13 18:30:09 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 2912eac52610bf9463e48f320a966d0b0c51bed0
      https://github.com/dovecot/core/commit/2912eac52610bf9463e48f320a966d0b0c51bed0
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-13 (Wed, 13 Sep 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-index-notify.c

  Log Message:
  -----------
  lib-storage: Fix mailbox list notification assert-crash when mailbox is deleted

Reproduced with if IMAP NOTIFY is used for non-selected mailboxes without
MailboxName being specified. Another session then does changes to a
mailbox and immediately deletes it, which causes the crash.

Fixes:
Panic: file mailbox-list-index-notify.c: line 751: unreached


  Commit: 214aff73cd9809446bef169b216d6eb5a81079d8
      https://github.com/dovecot/core/commit/214aff73cd9809446bef169b216d6eb5a81079d8
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-13 (Wed, 13 Sep 2017)

  Changed paths:
    M src/lib-sql/driver-cassandra.c

  Log Message:
  -----------
  cassandra: Fix paged queries to work again

When continuing the result, consistency was reset to 0 (=ANY), which caused
the queries to fail. There's no need to initialize the statement again when
continuing it. Also set result->consistency to be correct mainly for
debugging purposes.


Compare: https://github.com/dovecot/core/compare/9c81423577e3...214aff73cd98


More information about the dovecot-cvs mailing list