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
Nadezhda Ivanova
OpenLDAP
Commits
f332bba5
Commit
f332bba5
authored
Oct 11, 2002
by
Kurt Zeilenga
Browse files
DNSSRV realloc fix
parent
2b73f2bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/dnssrv.c
View file @
f332bba5
...
...
@@ -141,7 +141,8 @@ int ldap_domain2dn(
size_t
len
=
strlen
(
s
);
dntmp
=
(
char
*
)
LDAP_REALLOC
(
dn
,
loc
+
sizeof
(
",dc="
)
+
len
);
if
(
dn
==
NULL
)
{
if
(
dntmp
==
NULL
)
{
if
(
dn
!=
NULL
)
LDAP_FREE
(
dn
);
LDAP_FREE
(
domain
);
return
LDAP_NO_MEMORY
;
...
...
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