mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Call gettext() on parameters for warning()/warningx() instead of
having warning() do it for us.
This commit is contained in:
@@ -219,7 +219,7 @@ fill_args(const char *s, int len, int addspace)
|
||||
if (addspace)
|
||||
*p++ = ' ';
|
||||
if (strlcpy(p, s, arg_size - (p - sudoerslval.command.args)) != len) {
|
||||
warningx(N_("fill_args: buffer overflow")); /* paranoia */
|
||||
warningx(_("fill_args: buffer overflow")); /* paranoia */
|
||||
sudoerserror(NULL);
|
||||
debug_return_bool(false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user