[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OpenLDAP 2.2.4 segfaults (ITS#2901)

> Full_Name: Josh Lothian
> Version: 2.2.4
> OS: RedHat 9
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> Using OpenLDAP 2.2.4 and db-4.2.25, compiled with TLS, crypt passwords
> enabled.
> performing a search like this on the directory will cause it to
> segfault:
> % ldapsearch -H ldaps://host:port/ -b dc=domain,dc=com -W -x
> -D'uid=user,dc=domain,dc=com' '(uid=**)'
> I was able to reproduce this with a database with 3000 entries as well
> as an empty database.  Couldn't get any useful GDB output even from the
> non-stripped slapd binary.  Mailers such as Mozilla will cause this sort
> of crash is '*' is entered in the search field to query the LDAP
> directory.
> Not a huge issue but though you would like know.

Since you say it's caused by third-party software,
it could be related to encoding differences in the
underlying client library.  Can you provide a stack
backtrace (with symbols, -g compile option) and a
complete log (slapd -1) right before the error?


Pierangelo Masarati