openldap/servers/slapd
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
..
back-ldbm Change cache.c assert logic based on Hallvard's suggestion. 1998-12-10 19:20:15 +00:00
back-passwd Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
back-shell "make veryclean" now lives up to its name. 1998-11-22 06:24:59 +00:00
shell-backends Remove extern declarations of library functions from source.c. 1998-11-16 05:07:27 +00:00
tools Add ldif2ldbm bugfix from Randy Kunkee <kunkee@pluto.ops.NeoSoft.com> 1998-11-30 22:26:11 +00:00
abandon.c Protoized, moved extern definitions to .h files, fixed related bugs. 1998-11-15 22:40:11 +00:00
acl.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
aclparse.c printf("\tby") belongs on stderr. 1998-12-04 19:29:17 +00:00
add.c Plug a leak reported by Jorg Pietschmann <pietsch@swissline.ch> 1998-12-04 02:20:39 +00:00
attr.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
ava.c merged with autoconf branch 1998-10-25 01:41:42 +00:00
backend.c Update slapd to use lutil_passwd() for both user and root passwords. 1998-12-01 03:36:37 +00:00
bind.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
ch_malloc.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
charray.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
compare.c Protoized, moved extern definitions to .h files, fixed related bugs. 1998-11-15 22:40:11 +00:00
config.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
configinfo.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
connection.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
daemon.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
delete.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
dn.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
entry.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
filter.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
filterentry.c Protoized, moved extern definitions to .h files, fixed related bugs. 1998-11-15 22:40:11 +00:00
init.c Protoized, moved extern definitions to .h files, fixed related bugs. 1998-11-15 22:40:11 +00:00
lock.c Remove extern declarations of library functions from source.c. 1998-11-16 05:07:27 +00:00
main.c We shouldn't detach a thread that we want to join with... 1998-11-30 20:37:48 +00:00
Makefile.in Update build environment: 1998-11-29 19:48:28 +00:00
modify.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
modrdn.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
monitor.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
operation.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
phonetic.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
proto-slap.h The result set of an EQUALITY search on a SYNTAX_BIN attribute may have been 1998-12-14 04:25:55 +00:00
repl.c gcc -Wformat cleanup 1998-11-23 04:33:53 +00:00
result.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
schema.c Protoized, moved extern definitions to .h files, fixed related bugs. 1998-11-15 22:40:11 +00:00
schemaparse.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
search.c Protoized, moved extern definitions to .h files, fixed related bugs. 1998-11-15 22:40:11 +00:00
slap.h Protoized, moved extern definitions to .h files, fixed related bugs. 1998-11-15 22:40:11 +00:00
slapd.at.conf
slapd.conf Change the default installation to use a domain component (dc) style base dn. 1998-12-03 04:52:46 +00:00
slapd.oc.conf
str2filter.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
suffixalias.c Replace strdup() with ch_strdup() such that exit() will be called 1998-11-27 20:21:54 +00:00
unbind.c Protoized, moved extern definitions to .h files, fixed related bugs. 1998-11-15 22:40:11 +00:00
value.c The result set of an EQUALITY search on a SYNTAX_BIN attribute may have been 1998-12-14 04:25:55 +00:00
Version.c