The Samba-Bugzilla – Attachment 7005 Details for
Bug 8455
Samba PDC is looking up only primary user group
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix the uninitialized memory problem
0001-Fix-uninitialized-memory-problem-in-group_sids_to_in.patch (text/plain), 908 bytes, created by
Wilco Baan Hofman
on 2011-10-17 19:29:16 UTC
(
hide
)
Description:
Patch to fix the uninitialized memory problem
Filename:
MIME Type:
Creator:
Wilco Baan Hofman
Created:
2011-10-17 19:29:16 UTC
Size:
908 bytes
patch
obsolete
>From b5625b968f4481a9dea8662936163bba480bdb11 Mon Sep 17 00:00:00 2001 >From: Wilco Baan Hofman <wilco@baanhofman.nl> >Date: Mon, 17 Oct 2011 21:24:41 +0200 >Subject: [PATCH] Fix uninitialized memory problem in group_sids_to_info3 > (fixes bug #8455). > >--- > source3/auth/server_info.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >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; > } >-- >1.7.6.3 >
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
Actions:
View
Attachments on
bug 8455
:
6897
|
6912
|
6913
| 7005 |
7007