[Dovecot] default_ldap_settings' value
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))",
13 Jan
13 Jan
8:36 p.m.
On Thu, 2005-01-13 at 13:03 +0900, Kazuo Moriwaka wrote:
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.
Yes, it's better that way. I did the same for other defaults as well.
7246
Age (days ago)
7246
Last active (days ago)
1 comments
2 participants
participants (2)
-
Kazuo Moriwaka
-
Timo Sirainen