[dovecot/core] 0bd01b: lib-storage: If mailbox_create() fails, don't leav...

GitHub noreply at github.com
Wed Nov 30 11:00:09 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 0bd01b003f9a6a78fb8af331c44b2e32036b6786
      https://github.com/dovecot/core/commit/0bd01b003f9a6a78fb8af331c44b2e32036b6786
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-30 (Wed, 30 Nov 2016)

  Changed paths:
    M src/lib-storage/mail-storage.c

  Log Message:
  -----------
  lib-storage: If mailbox_create() fails, don't leave box in partially opened state.

For example with sdbox it may have opened the indexes, but not set mailbox's
GUID. A following MAILBOX_METADATA_GUID would then assert-crash because GUID
is empty.




More information about the dovecot-cvs mailing list