#48970 Server Side Sorting crashes the server.
Closed: Fixed None Opened 2 years ago by nhosoi.

Valgrind output against this command line is attached.

$ ldapsearch [...] -b "dc=example,dc=com" -E sss=title:2.16.840.1.113730. '(title=*)' title

Note: the title is indexed with a locale 2.16.840.1.113730., which may or may not be a condition to cause this error.
dn: cn=title,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
objectClass: top
objectClass: nsIndex
cn: title
nsSystemIndex: false
nsIndexType: pres
nsIndexType: eq
nsIndexType: sub
nsMatchingRule: 2.16.840.1.113730.

The matching rule is not needed when indexing the attribute. Also, the simple server side sorting has no issue.

The OID or locale triggers the crash.
-E sss=sn:en

Mark, if target milestone needs to be 1.2.11, please feel free to update it. Thanks!

Looks good. Thanks, Mark!!

32881be..43997fa master -> master
commit 43997fa
Author: Mark Reynolds mreynolds@redhat.com
Date: Tue Aug 30 10:32:45 2016 -0400

19c4638..c9dc154 389-ds-base-1.3.4 -> 389-ds-base-1.3.4
commit c9dc154

4108fbd..30ecd3c 389-ds-base-1.3.3 -> 389-ds-base-1.3.3
commit 30ecd3c

0d5afb2..dba6ff0 389-ds-base-1.2.11 -> 389-ds-base-1.2.11
commit dba6ff0

Metadata Update from @nhosoi:
- Issue assigned to mreynolds
- Issue set to the milestone:

2 years ago

Login to comment on this ticket.