]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/acl.c
fix previous commit (related to ITS#5804)
[openldap] / servers / slapd / acl.c
index d04f1df00575fda77e42213424a342be2e5a031f..55e84ae53ba657cd7b689672f12d0f0946e4f5cf 100644 (file)
@@ -911,7 +911,7 @@ acl_mask_dn(
 
                        if ( acl_string_expand( &bv, &bdn->a_pat, 
                                                e->e_nname.bv_val, 
-                                               val->bv_val, tmp_matchesp ) )
+                                               val ? val->bv_val : NULL, tmp_matchesp ) )
                        {
                                return 1;
                        }