Small program to demonstrate failure:
cat bustit.c
#include <stdio.h>
#include <sys/types.h>
#include <grp.h>
int main(int argc, char **argv)
{
struct group *result;
if (argc >= 2)
{
result = getgrnam(argv[1]);
}
printf("Didn't explode: group %s result %lx\n", argv[1], result);
}
make bustit
cc bustit.c -o bustit
bustit devel
Segmentation fault
tail -1 /etc/group
postdrop:x:113:
bustit postdrop
Didn't explode: group postdrop result 2ba18c568700
--
segfault in getgrnam() on amd64
https://launchpad.net/bugs/72923
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs