From: Howard Chu Date: Tue, 20 Jul 2021 16:52:20 +0000 (+0100) Subject: ITS#6916 unique: internal ops shouldn't have user's controls X-Git-Tag: OPENLDAP_REL_ENG_2_6_0~168 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bd6a6d49d939464092900c911e1ed86fa4b4d0e;p=thirdparty%2Fopenldap.git ITS#6916 unique: internal ops shouldn't have user's controls --- 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;