diff --git a/servers/slapd/overlays/unique.c b/servers/slapd/overlays/unique.c index 27a27d7d44..d0db27fc40 100644 --- a/servers/slapd/overlays/unique.c +++ b/servers/slapd/overlays/unique.c @@ -996,6 +996,7 @@ unique_search( nop->ors_tlimit = SLAP_NO_LIMIT; nop->ors_attrs = slap_anlist_no_attrs; nop->ors_attrsonly = 1; + memset( nop->o_ctrlflag, 0, sizeof( nop->o_ctrlflag )); uq.ndn = &op->o_req_ndn;