[SCM] Samba Shared Repository - branch v3-6-test updated

Karolin Seeger kseeger at samba.org
Tue Oct 18 11:50:34 MDT 2011


The branch, v3-6-test has been updated
       via  31c00e9 Fix uninitialized memory problem in group_sids_to_info3 (fixes bug #8455).
      from  47f1e50 WHATSNEW: Update changes since 3.6.0.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit 31c00e9314e735505590f98565dcb5aa58453d0e
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date:   Mon Oct 17 21:24:41 2011 +0200

    Fix uninitialized memory problem in group_sids_to_info3 (fixes bug #8455).
    
    Autobuild-User: Jeremy Allison <jra at samba.org>
    Autobuild-Date: Mon Oct 17 23:32:58 CEST 2011 on sn-devel-104
    (cherry picked from commit c52b571506874987ba626c25e9692fbe2251b7e2)

-----------------------------------------------------------------------

Summary of changes:
 source3/auth/server_info.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/auth/server_info.c b/source3/auth/server_info.c
index c6d68c2..dc5b15f 100644
--- a/source3/auth/server_info.c
+++ b/source3/auth/server_info.c
@@ -279,8 +279,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;
 		}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list