From 3792e9ec5999fa6fce5ea29ebdf3ab6de84ed55a Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 23 Feb 2012 01:16:39 -0800 Subject: [PATCH] ITS#7178 fix uninit'd op->ors_deref --- servers/slapd/overlays/pcache.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5