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
cee9a36e
Commit
cee9a36e
authored
Oct 30, 2009
by
Quanah Gibson-Mount
Browse files
ITS#6326
parent
b70b48c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
cee9a36e
...
...
@@ -3,6 +3,7 @@ OpenLDAP 2.4 Change Log
OpenLDAP 2.4.20 Engineering
Fixed libldap uninitialized return value (ITS#6355)
Fixed slapd debug handling of LDAP_DEBUG_ANY (ITS#6324)
Fixed slapd-ldap leak (ITS#6326)
Documentation
ldap_get_dn(3) typos (ITS#5366)
...
...
servers/slapd/back-ldap/search.c
View file @
cee9a36e
...
...
@@ -759,6 +759,7 @@ ldap_build_entry(
(
oc
=
oc_bvfind_undef
(
&
attr
->
a_vals
[
i
]
)
)
!=
NULL
)
{
ber_dupbv
(
&
pval
,
&
oc
->
soc_cname
);
rc
=
LDAP_SUCCESS
;
}
else
{
LBER_FREE
(
attr
->
a_vals
[
i
].
bv_val
);
...
...
@@ -770,8 +771,9 @@ ldap_build_entry(
BER_BVZERO
(
&
attr
->
a_vals
[
last
]
);
i
--
;
}
}
}
else
if
(
pretty
)
{
if
(
rc
==
LDAP_SUCCESS
&&
pretty
)
{
LBER_FREE
(
attr
->
a_vals
[
i
].
bv_val
);
attr
->
a_vals
[
i
]
=
pval
;
}
...
...
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