From 3d107181cf532343d98033e4569cdf08a5f1c4e8 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 22 Aug 2012 15:05:54 -0700 Subject: [PATCH] ITS#7350 allow value-specific ACLs on zero-length values --- servers/slapd/aclparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/aclparse.c b/servers/slapd/aclparse.c index 1d2f09fd92..e1ac805306 100644 --- a/servers/slapd/aclparse.c +++ b/servers/slapd/aclparse.c @@ -2830,7 +2830,7 @@ acl_unparse( AccessControl *a, struct berval *bv ) ptr = acl_safe_strcopy( ptr, "\n" ); } - if ( !BER_BVISEMPTY( &a->acl_attrval ) ) { + if ( !BER_BVISNULL( &a->acl_attrval ) ) { to++; ptr = acl_safe_strcopy( ptr, " val." ); if ( a->acl_attrval_style == ACL_STYLE_BASE && -- 2.39.5