mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
store a copy of _PATH_SUDO_ASKPASS in def_askpass that is freeable
This commit is contained in:
@@ -424,7 +424,7 @@ init_defaults()
|
||||
def_env_editor = TRUE;
|
||||
#endif
|
||||
#ifdef _PATH_SUDO_ASKPASS
|
||||
def_askpass = _PATH_SUDO_ASKPASS;
|
||||
def_askpass = estrdup(_PATH_SUDO_ASKPASS);
|
||||
#endif
|
||||
def_env_reset = TRUE;
|
||||
def_set_logname = TRUE;
|
||||
|
Reference in New Issue
Block a user