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
1d067831
Commit
1d067831
authored
May 03, 2000
by
Kurt Zeilenga
Browse files
Setting UFN prefix to NULL should clear prefix, not cause crash
parent
0bbeef60
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
1d067831
...
...
@@ -7,6 +7,7 @@ Changes included in OpenLDAP 1.2.11 Release Engineering
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
Fix NULL prefix bug in libldap/ufn.c
Changes included in OpenLDAP 1.2.10
CVS Tag: OPENLDAP_REL_ENG_1_2_10
...
...
libraries/libldap/ufn.c
View file @
1d067831
...
...
@@ -476,7 +476,8 @@ ldap_ufn_setprefix( LDAP *ld, char *prefix )
if
(
ld
->
ld_ufnprefix
!=
NULL
)
free
(
ld
->
ld_ufnprefix
);
ld
->
ld_ufnprefix
=
ldap_strdup
(
prefix
);
ld
->
ld_ufnprefix
=
prefix
==
NULL
?
NULL
:
ldap_strdup
(
prefix
);
}
int
...
...
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