]> git.sur5r.net Git - openldap/commitdiff
ITS#7178 fix uninit'd op->ors_deref
authorHoward Chu <hyc@openldap.org>
Thu, 23 Feb 2012 09:16:39 +0000 (01:16 -0800)
committerHoward Chu <hyc@openldap.org>
Thu, 23 Feb 2012 09:16:39 +0000 (01:16 -0800)
servers/slapd/overlays/pcache.c

index d8c5c0f59ce1c0c6fb3fbafd874bb58ab76878a1..8052304b944917ea359ff887a32d9153a00a3ec8 100644 (file)
@@ -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;