mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fixed crasher due to op->o_conn not being initialized in internal
SLAPI connections (the new internal API highlighted this)
This commit is contained in:
parent
6e01d4ebe8
commit
97aaebd20f
@ -153,6 +153,7 @@ slapiConnectionInit(
|
|||||||
c->c_pending_ops.stqh_first->o_time = slap_get_time();
|
c->c_pending_ops.stqh_first->o_time = slap_get_time();
|
||||||
c->c_pending_ops.stqh_first->o_do_not_cache = 1;
|
c->c_pending_ops.stqh_first->o_do_not_cache = 1;
|
||||||
c->c_pending_ops.stqh_first->o_threadctx = ldap_pvt_thread_pool_context( &connection_pool );
|
c->c_pending_ops.stqh_first->o_threadctx = ldap_pvt_thread_pool_context( &connection_pool );
|
||||||
|
c->c_pending_ops.stqh_first->o_conn = c;
|
||||||
|
|
||||||
/* connection object */
|
/* connection object */
|
||||||
c->c_authmech.bv_val = NULL;
|
c->c_authmech.bv_val = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user