The branch, v3-6-test has been updated
       via  e8b9fe7 s3: Fix a getgrent crash with many groups
      from  29ecdd5 s3: Add "net registry getvaluesraw"

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


- Log -----------------------------------------------------------------
commit e8b9fe7a51fbc42935792c18afa839f36ae141ed
Author: Volker Lendecke <v...@samba.org>
Date:   Wed Nov 3 13:08:37 2010 +0100

    s3: Fix a getgrent crash with many groups

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

Summary of changes:
 source3/winbindd/winbindd_getgrent.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_getgrent.c 
b/source3/winbindd/winbindd_getgrent.c
index a3ea8dd..21da75b 100644
--- a/source3/winbindd/winbindd_getgrent.c
+++ b/source3/winbindd/winbindd_getgrent.c
@@ -187,6 +187,7 @@ NTSTATUS winbindd_getgrent_recv(struct tevent_req *req,
        if (result == NULL) {
                return NT_STATUS_NO_MEMORY;
        }
+       state->groups = (struct winbindd_gr *)result;
 
        for (i=0; i<state->num_groups; i++) {
                memcpy(result + base_memberofs + state->groups[i].gr_mem_ofs,


-- 
Samba Shared Repository

Reply via email to