X-Git-Url: https://git.saurik.com/apple/libinfo.git/blobdiff_plain/c6f155da1354232bd502882ef0490c98819efdf0..a0865d6380e4ae001b2f00dbe4199477660b93d4:/lookup.subproj/lu_group.c diff --git a/lookup.subproj/lu_group.c b/lookup.subproj/lu_group.c index 5022f9c..2ec8e03 100644 --- a/lookup.subproj/lu_group.c +++ b/lookup.subproj/lu_group.c @@ -362,6 +362,8 @@ initgroups(const char *name, int basegid) { int res; + if (name == NULL) return -1; + if (_lu_running()) { if ((res = lu_initgroups(name, basegid)))