Skip to content
Snippets Groups Projects
Commit 556d173f authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6386

parent 771c1f62
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@ OpenLDAP 2.4.20 Engineering
Fixed liblber embedded NUL values in BerValues (ITS#6353)
Fixed liblber inverted LBER_USE_DER test (ITS#6348)
Fixed liblber to return failure on certain failures (ITS#6344)
Fixed libldap connection initialization (ITS#6386)
Fixed libldap sasl buffer sizing (ITS#6327,ITS#6334)
Fixed libldap uninitialized return value (ITS#6355)
Fixed libldap unlimited timeout (ITS#6388)
......
......@@ -271,6 +271,7 @@ ldap_init_fd(
ldap_unbind_ext( ld, NULL, NULL );
return( LDAP_NO_MEMORY );
}
conn->lconn_server = ldap_url_dup( ld->ld_options.ldo_defludp );
ber_sockbuf_ctrl( conn->lconn_sb, LBER_SB_OPT_SET_FD, &fd );
ld->ld_defconn = conn;
++ld->ld_defconn->lconn_refcnt; /* so it never gets closed/freed */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment