Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
95d4d41e
Commit
95d4d41e
authored
Jul 10, 2008
by
Quanah Gibson-Mount
Browse files
ITS#5578
parent
2eb9d166
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
95d4d41e
...
...
@@ -12,6 +12,7 @@ OpenLDAP 2.4.11 Engineering
Fixed slapd crash with no listeners (ITS#5563)
Fixed slapd equality rules for olcRootDN/olcSchemaDN (ITS#5540)
Fixed slapd sets memory leak (ITS#5557)
Fixed slapd sortvals binary search (ITS#5578)
Fixed slapd/slapo-syncprov syncrepl contextCSN updates as internal ops (ITS#5596)
Fixed slapd-meta link to slapd-ldap (ITS#5355)
Fixed slapd-sock, back-shell buffer count (ITS#5558)
...
...
servers/slapd/attr.c
View file @
95d4d41e
...
...
@@ -324,17 +324,16 @@ attr_valfind(
while
(
0
<
n
)
{
unsigned
pivot
=
n
>>
1
;
i
=
base
+
pivot
;
if
(
i
>=
a
->
a_numvals
)
{
i
=
a
->
a_numvals
-
1
;
break
;
}
rc
=
value_match
(
&
match
,
a
->
a_desc
,
mr
,
flags
,
&
a
->
a_nvals
[
i
],
cval
,
&
text
);
if
(
rc
==
LDAP_SUCCESS
&&
match
==
0
)
break
;
n
=
pivot
;
if
(
match
<
0
)
if
(
match
<
0
)
{
base
=
i
+
1
;
n
-=
pivot
+
1
;
}
else
{
n
=
pivot
;
}
}
if
(
match
<
0
)
i
++
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment