]> git.sur5r.net Git - openldap/commitdiff
fix previous commit (related to ITS#5804)
authorPierangelo Masarati <ando@openldap.org>
Fri, 28 Nov 2008 19:34:02 +0000 (19:34 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 28 Nov 2008 19:34:02 +0000 (19:34 +0000)
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;
                        }