The branch, master has been updated
       via  c52b571 Fix uninitialized memory problem in group_sids_to_info3 
(fixes bug #8455).
      from  c3bdcab First part of fix for bug #8419 - Make VFS op "streaminfo" 
stackable.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit c52b571506874987ba626c25e9692fbe2251b7e2
Author: Wilco Baan Hofman <wi...@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 <j...@samba.org>
    Autobuild-Date: Mon Oct 17 23:32:58 CEST 2011 on sn-devel-104

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

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 fd21010..5b2706a 100644
--- a/source3/auth/server_info.c
+++ b/source3/auth/server_info.c
@@ -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;
                }


-- 
Samba Shared Repository

Reply via email to