From: Pierangelo Masarati Date: Tue, 13 Feb 2007 23:33:54 +0000 (+0000) Subject: minor fixes... X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA^2~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5d31a6247ce40917a55dd39693d669b2cd7f48f9;p=openldap minor fixes... --- 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;