]> git.sur5r.net Git - openldap/commitdiff
fix BVarray
authorPierangelo Masarati <ando@openldap.org>
Sat, 5 Jan 2002 09:58:19 +0000 (09:58 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 5 Jan 2002 09:58:19 +0000 (09:58 +0000)
servers/slapd/acl.c

index c3b9eb14d6059d7e0283471f62e4d47f2fb5a2a8..5fd5d7f428fba8a061e885256476a10fa561bc6f 100644 (file)
@@ -888,9 +888,9 @@ acl_mask(
                         * rights are determined by OR'ing the individual
                         * rights given by the acis.
                         */
-                       for ( i = 0; at->a_vals[i] != NULL; i++ ) {
+                       for ( i = 0; at->a_vals[i].bv_val != NULL; i++ ) {
                                if (aci_mask( be, conn, op,
-                                       e, desc, val, at->a_vals[i],
+                                       e, desc, val, &at->a_vals[i],
                                        matches, &grant, &deny ) != 0)
                                {
                                        tgrant |= grant;