The branch, master has been updated via 80c3364 s3: Fix a getgrent crash with many groups from a12c330 s4-server: cleanup allocation of process models
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 80c3364cd33a96666d83f26476faa097c3494c1e Author: Volker Lendecke <v...@samba.org> Date: Wed Nov 3 13:08:37 2010 +0100 s3: Fix a getgrent crash with many groups Autobuild-User: Volker Lendecke <vlen...@samba.org> Autobuild-Date: Wed Nov 3 12:58:49 UTC 2010 on sn-devel-104 ----------------------------------------------------------------------- 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