]> git.sur5r.net Git - openldap/commitdiff
Init uninit'd vlv flag
authorHoward Chu <hyc@openldap.org>
Tue, 18 May 2010 07:35:12 +0000 (07:35 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 18 May 2010 07:35:12 +0000 (07:35 +0000)
servers/slapd/overlays/sssvlv.c

index c69886cb7dd7c47a0be1d61a76e382324a9d9061..c70425d02e0edc090c388b7420e1ddf671c2cacb 100644 (file)
@@ -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;