From: Luke Howard Date: Tue, 1 Apr 2003 11:46:43 +0000 (+0000) Subject: Fixed crasher due to op->o_conn not being initialized in internal X-Git-Tag: AUTOCONF_2_57~129 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=97aaebd20f8b34986e4665f896004940e64f486d;p=openldap Fixed crasher due to op->o_conn not being initialized in internal SLAPI connections (the new internal API highlighted this) --- diff --git a/servers/slapd/slapi/slapi_ops.c b/servers/slapd/slapi/slapi_ops.c index e93511460f..c4e0d12388 100644 --- a/servers/slapd/slapi/slapi_ops.c +++ b/servers/slapd/slapi/slapi_ops.c @@ -153,6 +153,7 @@ slapiConnectionInit( 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_threadctx = ldap_pvt_thread_pool_context( &connection_pool ); + c->c_pending_ops.stqh_first->o_conn = c; /* connection object */ c->c_authmech.bv_val = NULL;