13 Jan
2005
13 Jan
'05
6:03 a.m.
Hello,
When I tested LDAP auth dovecot-auth caught segv, and I found that auth_cache_parse_key() doesn't check query == NULL.
I think db-ldap.c/default_ldap_settings.pass_filter should have non-null default value.
Please check following patch.
regards,
Kazuo Moriwaka moriwaka@valinux.co.jp
Index: db-ldap.c
RCS file: /home/cvs/dovecot/src/auth/db-ldap.c,v retrieving revision 1.24 diff -r1.24 db-ldap.c 62c62 < MEMBER(pass_filter) NULL,
MEMBER(pass_filter) "(&(objectClass=posixAccount)(uid=%u))",