mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Cast NULL terminator argument to char * when calling sudo_mkgrent().
Avoids a portability issue on systems where NULL is not a pointer.
This commit is contained in:
@@ -753,7 +753,7 @@ sudo_fakegrnam(const char *group)
|
||||
debug_return_ptr(NULL);
|
||||
}
|
||||
|
||||
debug_return_ptr(sudo_mkgrent(group, gid, NULL));
|
||||
debug_return_ptr(sudo_mkgrent(group, gid, (char *)NULL));
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user