The Samba-Bugzilla – Attachment 6045 Details for
Bug 7774
winbind crashes in getgrent with many groups
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0001-s3-Fix-a-getgrent-crash-with-many-groups.patch (text/plain), 815 bytes, created by
Volker Lendecke
on 2010-11-03 07:45:58 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2010-11-03 07:45:58 UTC
Size:
815 bytes
patch
obsolete
>From 69617746f2c39b745571a5a6b231db0d3304df91 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Wed, 3 Nov 2010 13:08:37 +0100 >Subject: [PATCH] s3: Fix a getgrent crash with many groups > >--- > source3/winbindd/winbindd_getgrent.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >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, >-- >1.5.6.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
metze
:
review+
Actions:
View
Attachments on
bug 7774
: 6045