summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_disklabel.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1995-03-18 05:03:10 +0000
committerwpaul <wpaul@FreeBSD.org>1995-03-18 05:03:10 +0000
commitaf3a4131b55bff6fc49423e96a198e8b2ab9dd97 (patch)
tree5d2d683c668960039fd58d8655206e7d2dae541a /sys/kern/subr_disklabel.c
parentfa0492e32baad11a81a035184623eeb8fba4d452 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud