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
Quanah Gibson-Mount
OpenLDAP
Commits
3e3f0b88
Commit
3e3f0b88
authored
Jan 15, 1999
by
Kurt Zeilenga
Browse files
Could have no entry to return... check entry pointer before trying to
return cache entry.
parent
0c1cb93c
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-ldbm/alias.c
View file @
3e3f0b88
...
...
@@ -121,7 +121,7 @@ char *derefDN ( Backend *be,
Debug
(
LDAP_DEBUG_TRACE
,
"<= dereferencing dn
%s
\n
"
,
"<= dereferencing dn
:
\"
%s
\"
\n
"
,
dn
,
0
,
0
);
newDN
=
ch_strdup
(
dn
);
...
...
@@ -203,8 +203,10 @@ char *derefDN ( Backend *be,
}
}
/* free reader lock */
cache_return_entry_r
(
&
li
->
li_cache
,
eMatched
);
if
(
eMatched
!=
NULL
)
{
/* free reader lock */
cache_return_entry_r
(
&
li
->
li_cache
,
eMatched
);
}
/*
* the final part of the DN might be an alias
...
...
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