Hello! Names of groups should be stored in backend memory pool. --- acl-backend.c.old 2008-10-02 11:43:05.000000000 +0400 +++ acl-backend.c 2008-10-02 11:43:48.000000000 +0400 @@ -62,7 +62,7 @@ backend->groups = p_new(backend->pool, const char *, group_count); for (i = 0; i < group_count; i++) - backend->groups[i] = groups[i]; + backend->groups[i] = p_strdup(backend->pool, groups[i]); qsort(backend->groups, group_count, sizeof(const char *), i_strcmp_p); } With best regards, Anton Zakatov. E-mail: anton@abn.ru
On Thu, 2008-10-02 at 12:05 +0400, Anton Zakatov wrote:
Names of groups should be stored in backend memory pool.
Thanks, committed: http://hg.dovecot.org/dovecot-1.2/rev/c283babd0ab1
participants (2)
-
Anton Zakatov
-
Timo Sirainen