Bug 7014 - domain mode winbind crashes retriveing empty group members
Summary: domain mode winbind crashes retriveing empty group members
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.4
Classification: Unclassified
Component: Winbind (show other bugs)
Version: 3.4.2
Hardware: All Linux
: P3 major
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-30 14:34 UTC by Jim McDonough
Modified: 2020-12-11 09:41 UTC (History)
0 users

See Also:


Attachments
backport to 3.4 (1.10 KB, text/plain)
2009-12-30 15:02 UTC, Jim McDonough
no flags Details
Backport to 3.3.x (1.10 KB, patch)
2009-12-30 20:21 UTC, Jeremy Allison
vl: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim McDonough 2009-12-30 14:34:50 UTC
winbind crashes in lookup_groupmem() in winbindd_rpc.c when the group contains no members.  The "rids" variable is NULL, and it is dereferenced.
Comment 1 Jim McDonough 2009-12-30 15:02:51 UTC
Created attachment 5112 [details]
backport to 3.4
Comment 2 Volker Lendecke 2009-12-30 15:34:44 UTC
Looks good!

Karolin, please pull for the next 3.4!

Volker
Comment 3 Jeremy Allison 2009-12-30 20:21:48 UTC
Created attachment 5113 [details]
Backport to 3.3.x

This is also needed for the next 3.3.x.
Jeremy.
Comment 4 Karolin Seeger 2010-01-04 03:53:53 UTC
Pushed to v3-4-test und v3-3-test.
Closing out bug report.

Thanks!