openldap/servers
Kurt Zeilenga 9df2f4f424 The result set of an EQUALITY search on a SYNTAX_BIN attribute may have been
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>
1998-12-14 04:25:55 +00:00
..
ldapd Update build environment: 1998-11-29 19:48:28 +00:00
slapd The result set of an EQUALITY search on a SYNTAX_BIN attribute may have been 1998-12-14 04:25:55 +00:00
slurpd Even more LDAP_PORT depends. 1998-11-30 04:06:59 +00:00
Makefile.in merged with autoconf branch 1998-10-25 01:41:42 +00:00