From: Ted C. Cheng Date: Wed, 10 Apr 2013 23:01:16 +0000 (-0700) Subject: ITS#7569 fixed a group enumeration bug (Symas#2255) X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=21ff23ac71cfe934514f1a959221a40df1b075c6;p=openldap ITS#7569 fixed a group enumeration bug (Symas#2255) --- diff --git a/contrib/slapd-modules/nssov/group.c b/contrib/slapd-modules/nssov/group.c index f1fe300697..f75d7503d3 100644 --- a/contrib/slapd-modules/nssov/group.c +++ b/contrib/slapd-modules/nssov/group.c @@ -143,7 +143,7 @@ static int write_group(nssov_group_cbp *cbp,Entry *entry) struct berval *names,*gids,*members; struct berval passwd = {0}; Attribute *a; - int i,j,nummembers,rc; + int i,j,nummembers,rc = 0; /* get group name (cn) */ if (BER_BVISNULL(&cbp->name))