From: Howard Chu Date: Tue, 18 May 2010 07:35:12 +0000 (+0000) Subject: Init uninit'd vlv flag X-Git-Tag: MIGRATION_CVS2GIT~593 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c45fca65fc89d101237874a6cfde40332f4efff2;p=openldap Init uninit'd vlv flag --- diff --git a/servers/slapd/overlays/sssvlv.c b/servers/slapd/overlays/sssvlv.c index c69886cb7d..c70425d02e 100644 --- a/servers/slapd/overlays/sssvlv.c +++ b/servers/slapd/overlays/sssvlv.c @@ -822,6 +822,8 @@ static int sssvlv_op_search( so->so_vlv = op->o_ctrlflag[vlv_cid]; so->so_vlv_target = 0; so->so_vlv_rc = 0; + } else { + so->so_vlv = SLAP_CONTROL_NONE; } } so->so_vcontext = (unsigned long)so;