diff options
author | wpaul <wpaul@FreeBSD.org> | 1995-03-18 05:03:10 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1995-03-18 05:03:10 +0000 |
commit | af3a4131b55bff6fc49423e96a198e8b2ab9dd97 (patch) | |
tree | 5d2d683c668960039fd58d8655206e7d2dae541a /sys/kern/subr_disklabel.c | |
parent | fa0492e32baad11a81a035184623eeb8fba4d452 (diff) | |
download | FreeBSD-src-af3a4131b55bff6fc49423e96a198e8b2ab9dd97.zip FreeBSD-src-af3a4131b55bff6fc49423e96a198e8b2ab9dd97.tar.gz |
Fix 'putting +: in /etc/group causes many programs to dump core' bug
by heading off possible null pointer dereferences in grscan(). Also
change getgrnam() slightly to properly handle the change: if grscan()
returns an rval of 1 and leaves a '+' in the gr_name field and YP is
enabled, poll the YP group.byname map before giving up. This should
insure that we make every effort to find a match in the local and
YP group databases before bailing out.
Diffstat (limited to 'sys/kern/subr_disklabel.c')
0 files changed, 0 insertions, 0 deletions