mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Fix uninitialized memory problem in group_sids_to_info3 (fixes bug #8455).
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Oct 17 23:32:58 CEST 2011 on sn-devel-104
This commit is contained in:
parent
c3bdcab516
commit
c52b571506
@ -269,8 +269,8 @@ static NTSTATUS group_sids_to_info3(struct netr_SamInfo3 *info3,
|
||||
if (info3->base.primary_gid == rid) continue;
|
||||
|
||||
/* store domain group rid */
|
||||
groups->rids[i].rid = rid;
|
||||
groups->rids[i].attributes = attributes;
|
||||
groups->rids[groups->count].rid = rid;
|
||||
groups->rids[groups->count].attributes = attributes;
|
||||
groups->count++;
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user