Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shawn McKinney
OpenLDAP
Commits
0bbeef60
Commit
0bbeef60
authored
May 03, 2000
by
Kurt Zeilenga
Browse files
s/strdup/ldap_strdup/
parent
a088c624
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
0bbeef60
...
...
@@ -6,6 +6,7 @@ Changes included in OpenLDAP 1.2.11 Release Engineering
Fix error in slurpd's filecheck function
Fix slurpd to properly restart in oneshot mode, and to report a
non-zero number of items to process with only one replica.
Fix strdup use in libldap/request.c
Changes included in OpenLDAP 1.2.10
CVS Tag: OPENLDAP_REL_ENG_1_2_10
...
...
libraries/libldap/request.c
View file @
0bbeef60
...
...
@@ -86,7 +86,7 @@ ldap_delayed_open( LDAP *ld )
#if defined( LDAP_REFERRALS ) || defined( LDAP_DNS )
if
((
srv
=
(
LDAPServer
*
)
calloc
(
1
,
sizeof
(
LDAPServer
)))
==
NULL
||
(
ld
->
ld_defhost
!=
NULL
&&
(
srv
->
lsrv_host
=
strdup
(
ld
->
ld_defhost
))
==
NULL
))
ldap_
strdup
(
ld
->
ld_defhost
))
==
NULL
))
{
if
(
srv
!=
NULL
)
free
(
srv
);
ld
->
ld_errno
=
LDAP_NO_MEMORY
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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