[Pkg-shadow-devel] groupmems produces segmentation fault

Peter Vrabec pvrabec at redhat.com
Mon Feb 18 16:19:06 UTC 2008


hi folks,

groupmems -a customer -g test 
Segmentation fault

when /etc/group looks like:
...
test:x:10007:
...

I think groupmems.c:109 in addtogroup()
- members = (char **) realloc (members, sizeof (char *) * i);
+members = (char **) realloc (members, sizeof (char *) * (i+1));

Is it OK?



More information about the Pkg-shadow-devel mailing list