mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Use non-exiting allocators in the parser (much of it already did).
This commit is contained in:
@@ -157,7 +157,7 @@ fill_args(const char *s, int len, int addspace)
|
||||
p = sudoerslval.command.args ?
|
||||
realloc(sudoerslval.command.args, arg_size) : malloc(arg_size);
|
||||
if (p == NULL) {
|
||||
sudo_efree(sudoerslval.command.args);
|
||||
free(sudoerslval.command.args);
|
||||
sudo_warn(NULL);
|
||||
sudoerserror(NULL);
|
||||
debug_return_bool(false);
|
||||
|
Reference in New Issue
Block a user