From: Pierangelo Masarati Date: Thu, 7 Oct 2004 22:31:36 +0000 (+0000) Subject: fix previous commit X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~447 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aa2e9413f188a53c292d5e56e449a64cbee92d2d;p=openldap fix previous commit --- diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c index 3af01f6274..dc739b7b03 100644 --- a/servers/slapd/acl.c +++ b/servers/slapd/acl.c @@ -1903,6 +1903,7 @@ aci_set_gather( SetCookie *cookie, struct berval *name, struct berval *attr ) for ( ; ludp->lud_attrs[ nattrs ]; nattrs++ ) { ber_str2bv( ludp->lud_attrs[ nattrs ], 0, 0, &anlist[ nattrs ].an_name ); + anlist[ nattrs ].an_desc = NULL; rc = slap_bv2ad( &anlist[ nattrs ].an_name, &anlist[ nattrs ].an_desc, &text ); if ( rc != LDAP_SUCCESS ) { @@ -1916,6 +1917,7 @@ aci_set_gather( SetCookie *cookie, struct berval *name, struct berval *attr ) } anlist[ nattrs ].an_name = *attr; + anlist[ nattrs ].an_desc = NULL; rc = slap_bv2ad( &anlist[ nattrs ].an_name, &anlist[ nattrs ].an_desc, &text ); if ( rc != LDAP_SUCCESS ) {