[dovecot/core] 8d5faa: lib-storage: shared driver - Remove copying the ch...

GitHub noreply at github.com
Mon Apr 16 13:30:16 EEST 2018


  Branch: refs/heads/master-2.3
  Home:   https://github.com/dovecot/core
  Commit: 8d5faabfdcfaad5005e31c11e3d5880463a5ea30
      https://github.com/dovecot/core/commit/8d5faabfdcfaad5005e31c11e3d5880463a5ea30
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M src/lib-storage/index/shared/shared-storage.c

  Log Message:
  -----------
  lib-storage: shared driver - Remove copying the child storage's class_flags

The shared storage root itself doesn't have any storage, so it shouldn't
need to copy the child storage's class_flags either.

This fixes a crash when shared namespace was created with mdbox storage, and
another mdbox namespace was created afterwards. This had
MAIL_STORAGE_CLASS_FLAG_UNIQUE_ROOT set, but its unique_root_dir is NULL,
which caused a crash in mail_storage_match_class().


  Commit: 0448769145439e8b7e124cca6cf77589cee99944
      https://github.com/dovecot/core/commit/0448769145439e8b7e124cca6cf77589cee99944
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

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

  Log Message:
  -----------
  lib-storage: Assert unique_root_dir is set with MAIL_STORAGE_CLASS_FLAG_UNIQUE_ROOT


  Commit: dab43eda99f04270e8807008fc1787f50ffcde1e
      https://github.com/dovecot/core/commit/dab43eda99f04270e8807008fc1787f50ffcde1e
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M src/lib-mail/message-address.c
    M src/lib-mail/test-message-address.c

  Log Message:
  -----------
  lib-mail: message-address: Fix assert panic occurring in message_address_parse_path() when no opening `<' is found.

Panic was:

Panic: file message-address.c: line 147 (parse_angle_addr): assertion failed: (*ctx->parser.data == '<')


  Commit: ba275209e40edb89f310204a99d610e31bf67f6b
      https://github.com/dovecot/core/commit/ba275209e40edb89f310204a99d610e31bf67f6b
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M src/lib-mail/message-address.c
    M src/lib-mail/test-message-address.c

  Log Message:
  -----------
  lib-mail: message-address: Fix address parser to properly reject angle-addr without `>'.


Compare: https://github.com/dovecot/core/compare/12c4e52b5566...ba275209e40e


More information about the dovecot-cvs mailing list