Skip to content
Snippets Groups Projects
Forked from openldap / OpenLDAP
23755 commits behind the upstream repository.
Kurt Zeilenga's avatar
Kurt Zeilenga authored
incorrect because value_cmp() in value.c compares two attributes by
comparing the leading bytes of the two values (candidate and filter) up to
the smaller of the two lengths of the binary values. If the lengths of two
SYNTAX_BIN values differ, like SYNTAX_CES and SYNTAX_CIS, the EQUALITY
comparison should fail.

It also appears that value_ncmp() in value.c has no references anywhere in
the openLDAP source tree, save for a definition in proto-slap.h. The
following fix the bug and remove the dead code:

From: "MCGARRAHAN, KENNETH L" <km4155@momail.sbc.com>
9df2f4f4
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name Last commit Last update
..
ldapd
slapd
slurpd
Makefile.in