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
James Rouzier
OpenLDAP
Commits
32e965c2
Commit
32e965c2
authored
Apr 21, 2021
by
Norm Green
Committed by
Quanah Gibson-Mount
Apr 30, 2021
Browse files
ITS#9530 fix double-free of LDAP_OPT_DEFBASE
parent
efb53b7a
Changes
1
Show whitespace changes
Inline
Side-by-side
libraries/libldap/open.c
View file @
32e965c2
...
...
@@ -139,6 +139,9 @@ ldap_create( LDAP **ldp )
ld
->
ld_options
.
ldo_defludp
=
NULL
;
ld
->
ld_options
.
ldo_conn_cbs
=
NULL
;
ld
->
ld_options
.
ldo_defbase
=
gopts
->
ldo_defbase
?
LDAP_STRDUP
(
gopts
->
ldo_defbase
)
:
NULL
;
#ifdef HAVE_CYRUS_SASL
ld
->
ld_options
.
ldo_def_sasl_mech
=
gopts
->
ldo_def_sasl_mech
?
LDAP_STRDUP
(
gopts
->
ldo_def_sasl_mech
)
:
NULL
;
...
...
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