]> git.sur5r.net Git - openldap/commitdiff
Init uninit'd vlv flag
authorQuanah Gibson-Mount <quanah@openldap.org>
Thu, 10 Jun 2010 19:25:47 +0000 (19:25 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 10 Jun 2010 19:25:47 +0000 (19:25 +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;