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

(ITS#5300) Filter causes abort



Full_Name: Allan E. Johannesen
Version: 2.4.7
OS: Linux
URL: 
Submission from: (NULL) (24.177.50.33)


in 2.4.7 a search filter "(cn=** *stuff)" causes an abort.

In a program:

 ./x '(cn=** *stuff)'
x: getentry.c:36: ldap_first_entry: Assertion `chain != ((void *)0)' failed.
Abort

With ldapsearch:

> ldapsearch -VV
ldapsearch: @(#) $OpenLDAP: ldapsearch 2.4.7 (Dec 17 2007 09:23:50) $
        aej@CCC1.WPI.EDU:/tools/src/openldap/RHEL4-i686/openldap-2.4.7/clients/tools
        (LDAP library: OpenLDAP 20407)
> ldapsearch '(cn=** *stuff)'
SASL/GSSAPI authentication started
SASL username: aej@WPI.EDU
SASL SSF: 56
SASL data security layer installed.
# extended LDIF
#
# LDAPv3
# base <dc=WPI, dc=EDU> (default) with scope subtree
# filter: (cn=** *stuff)
# requesting: ALL
#

# extended result response
extended: 1.3.6.1.4.1.1466.20036
result: 2 Protocol error
text: unexpected data in PDU

# numResponses: 1
# numExtended: 1