mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Fix compilation on systems without a native strlcpy() function.
This commit is contained in:
@@ -960,7 +960,7 @@ set_cmnd(void)
|
||||
*/
|
||||
user_args = strvec_join(NewArgv + 1, ' ', strlcpy_unescape);
|
||||
} else {
|
||||
user_args = strvec_join(NewArgv + 1, ' ', strlcpy);
|
||||
user_args = strvec_join(NewArgv + 1, ' ', NULL);
|
||||
}
|
||||
if (user_args == NULL)
|
||||
debug_return_int(NOT_FOUND_ERROR);
|
||||
|
Reference in New Issue
Block a user