#48970 Server Side Sorting crashes the server.
Closed: wontfix None Opened 4 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:

4 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/2029

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

7 months ago

Login to comment on this ticket.