git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a12c330
)
s3: Fix a getgrent crash with many groups
author
Volker Lendecke
<vl@samba.org>
Wed, 3 Nov 2010 12:08:37 +0000
(13:08 +0100)
committer
Volker Lendecke
<vlendec@samba.org>
Wed, 3 Nov 2010 12:58:49 +0000
(12:58 +0000)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Nov 3 12:58:49 UTC 2010 on sn-devel-104
source3/winbindd/winbindd_getgrent.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_getgrent.c
b/source3/winbindd/winbindd_getgrent.c
index a3ea8dd0dfb9eb49ae8289f6e3d6994fb7767e02..21da75b4c52dda5747b1a54c37c1ff15df4a3503 100644
(file)
--- 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,