Commits (2)
......@@ -2,6 +2,7 @@ OpenLDAP 2.5 Change Log
OpenLDAP 2.5.6 Engineering
Fixed libldap buffer overflow (ITS#9578)
Fixed libldap missing mutex unlock on connection alloc failure (ITS#9590)
Fixed lloadd cn=config olcBkLloadClientMaxPending setting (ITS#8747)
Fixed slapd multiple config defaults (ITS#9363)
......
......@@ -350,6 +350,7 @@ ldap_init_fd(
/* Attach the passed socket as the LDAP's connection */
conn = ldap_new_connection( ld, NULL, 1, 0, NULL, 0, 0 );
if( conn == NULL ) {
LDAP_MUTEX_UNLOCK( &ld->ld_conn_mutex );
ldap_unbind_ext( ld, NULL, NULL );
return( LDAP_NO_MEMORY );
}
......