From 5d31a6247ce40917a55dd39693d669b2cd7f48f9 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 13 Feb 2007 23:33:54 +0000 Subject: [PATCH] minor fixes... --- servers/slapd/aci.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/servers/slapd/aci.c b/servers/slapd/aci.c index 86594ef33c..2ed91c4935 100644 --- a/servers/slapd/aci.c +++ b/servers/slapd/aci.c @@ -449,7 +449,7 @@ aci_mask( This routine now supports scope={ENTRY,CHILDREN} with the semantics: - ENTRY applies to "entry" and "subtree"; - - CHILDREN aplies to "children" and "subtree" + - CHILDREN applies to "children" and "subtree" */ /* check that the aci has all 5 components */ @@ -1016,7 +1016,7 @@ bv_get_tail( * action := perms;attrs[[;perms;attrs]...] * perms := perm[[,perm]...] * perm := c|s|r|w|x - * attrs := attribute[[,attribute]..]|[all] + * attrs := attribute[[,attribute]..]|"[all]" * attribute := attributeType|attributeType=attributeValue|attributeType=attributeValuePrefix* * type := public|users|self|dnattr|group|role|set|set-ref| * access_id|subtree|onelevel|children @@ -1545,6 +1545,8 @@ OpenLDAPaciPrettyNormal( freetype = 0; char *ptr; + BER_BVZERO( out ); + if ( BER_BVISEMPTY( val ) ) { Debug( LDAP_DEBUG_ACL, "aciPrettyNormal: value is empty\n", 0, 0, 0 ); return LDAP_INVALID_SYNTAX; -- 2.39.5