From 97aaebd20f8b34986e4665f896004940e64f486d Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Tue, 1 Apr 2003 11:46:43 +0000 Subject: [PATCH] Fixed crasher due to op->o_conn not being initialized in internal SLAPI connections (the new internal API highlighted this) --- servers/slapd/slapi/slapi_ops.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5