]> git.sur5r.net Git - openldap/commitdiff
Fixed crasher due to op->o_conn not being initialized in internal
authorLuke Howard <lukeh@openldap.org>
Tue, 1 Apr 2003 11:46:43 +0000 (11:46 +0000)
committerLuke Howard <lukeh@openldap.org>
Tue, 1 Apr 2003 11:46:43 +0000 (11:46 +0000)
SLAPI connections (the new internal API highlighted this)

servers/slapd/slapi/slapi_ops.c

index e93511460f5dea769bb36ee01e54e6bbd652c7df..c4e0d12388ad2de5df4aa2fb081c837cb7afbaa5 100644 (file)
@@ -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;