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

(ITS#5386) Bad value of entryUUID in filter crashes slapd



Full_Name: Grzegorz Sobanski
Version: 2.4.7(-5)
OS: Debain unstable
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (150.254.130.134)


If client sends a filter that lookups entries based on entryUUID, and the value
of entryUUID is invalid (eg. not properly formed) slapd dies with an assertion.

Example filter: (entryUUID=baka)
Steps to reproduce: ldapsearch -x "(entryUUID=baka)"
Reproducible: always

Error logged by slapd:
slapd: /home/devel/openldap/build-area/openldap2.3-2.4.7/servers/slapd/schema_init.c:2537:
UUIDNormalize: Assertion `val->bv_len == 16' failed.

Expected behaviour:
Server does not dies, and:
- backwards compatible: filter on entryUUID is skipped
- not backward compatible: client is informed about malformed search filter

If any more information or tests are needed, please ask.