[dovecot/core] a6d185: dict-fs: iterate: make sure the key is returned as...

GitHub noreply at github.com
Thu Mar 29 21:30:17 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: a6d18519bea791eca437a68d84c561d49e13c4fd
      https://github.com/dovecot/core/commit/a6d18519bea791eca437a68d84c561d49e13c4fd
  Author: manuel <manuel at mausz.at>
  Date:   2018-03-29 (Thu, 29 Mar 2018)

  Changed paths:
    M src/lib-dict-extra/dict-fs.c

  Log Message:
  -----------
  dict-fs: iterate: make sure the key is returned as full path

Fixes the following assert on iterating:
> Panic: file userdb-dict.c: line 123 (userdb_dict_get_user):
> assertion failed: (strncmp(key, ctx->key_prefix, ctx->key_prefix_len) == 0)

Configuration:
> uri = fs:posix:prefix=/tmp/dict
> iterate_prefix = userdb/
> key userdb {
>   key = userdb/%u
>   format = json
> }




More information about the dovecot-cvs mailing list