[Pkg-shadow-devel] segfault in groupmems
nicolas.francois at centraliens.net
Sun Aug 31 23:02:12 UTC 2008
On Tue, Aug 26, 2008 at 12:25:18PM +0200, pvrabec at redhat.com wrote:
> Hi folks,
> I get segfault in groupmems in shadow-4.1.2:
> # grep frankl /etc/group
> # ./groupmems -g frankl -a foo
> Segmentation fault
> Problem found by Chris Goetschius (goetschius at gmail.com )
Did you manage to reproduce the first issue (-d does not remove the user?)
Here is a patch to fix the segfault.
This is fixed differently in SVN (I wanted to reuse the functions to
access lists, which fixed this bug at the same time)
The patch should still be OK, and pretty simple for 4.1.2.
Note: the SVN version adds support for shadow group to groupmems.
There is also another fix for groupmems, which is only important for users
who use shadow configured with PAM support (in 4.1.2, groupmems use the
groupmod service instead of groupmems (/etc/pam.d/groupmems))
I also started the groupmems tests suite.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 878 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20080901/d0b482ef/attachment.patch
More information about the Pkg-shadow-devel