]> git.sur5r.net Git - openldap/commitdiff
ITS#7569 fixed a group enumeration bug (Symas#2255)
authorTed C. Cheng <tedcheng@symas.com>
Wed, 10 Apr 2013 23:01:16 +0000 (16:01 -0700)
committerHoward Chu <hyc@openldap.org>
Wed, 10 Apr 2013 23:25:28 +0000 (16:25 -0700)
contrib/slapd-modules/nssov/group.c

index f1fe300697ab40077508c32cb1e0599c5ef2aaa9..f75d7503d33fa431d28a645c8583a3b57fb17678 100644 (file)
@@ -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))