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
Shawn McKinney
OpenLDAP
Commits
ffa942aa
Commit
ffa942aa
authored
Jun 08, 2000
by
Kurt Zeilenga
Browse files
ITS
#579
: fix client_addr == NULL crash
parent
8e44ebb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/daemon.c
View file @
ffa942aa
...
...
@@ -329,7 +329,9 @@ slapd_daemon(
if
(
c
[
ns
].
c_addr
!=
NULL
)
{
free
(
c
[
ns
].
c_addr
);
}
c
[
ns
].
c_addr
=
ch_strdup
(
client_addr
);
c
[
ns
].
c_addr
=
ch_strdup
(
client_addr
==
NULL
?
""
:
client_addr
);
if
(
c
[
ns
].
c_domain
!=
NULL
)
{
free
(
c
[
ns
].
c_domain
);
...
...
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