From: Howard Chu Date: Thu, 23 Feb 2012 09:16:39 +0000 (-0800) Subject: ITS#7178 fix uninit'd op->ors_deref X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3792e9ec5999fa6fce5ea29ebdf3ab6de84ed55a;p=openldap ITS#7178 fix uninit'd op->ors_deref --- diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index d8c5c0f59c..8052304b94 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -3418,6 +3418,7 @@ refresh_query( Operation *op, CachedQuery *query, slap_overinst *on ) op->o_req_dn = query->qbase->base; op->o_req_ndn = query->qbase->base; op->ors_scope = query->scope; + op->ors_deref = LDAP_DEREF_NEVER; op->ors_slimit = SLAP_NO_LIMIT; op->ors_tlimit = SLAP_NO_LIMIT; op->ors_limit = NULL;