[Dovecot] Crash on malformed ldap user_filter

Anders mail at flac.kalibalik.dk
Mon Feb 25 23:01:51 EET 2008


I did a little too much copy/paste, and ended up with an ldap config
file containing a line of the form

  user_filter = user_filter = (&objectClass=...

(with "user_filter =" repeated). This caused the auth process to
segfault (v1.1.rc1). I suppose that I can reproduce this problem if
more information is needed.


Anders.


11:56:33 localhost dovecot: auth(default): ldap(a at invalid,127.0.0.1): user search: base=o=hosting,dc=invalid, dc=dk scope=subtree filter=user_filter = (&(objectClass=JammMailAccount)(mail=a at invalid)(accountActive=TRUE)(delete=FALSE)) fields=mail
11:56:33 localhost dovecot: child 21296 (auth) killed with signal 11
11:56:33 localhost dovecot: pop3-login: Internal login failure: user=<a at invalid>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured

(addresses are edited)


More information about the dovecot mailing list