2
0
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:
Todd C. Miller
2008-03-05 21:18:06 +00:00
parent cb1a3be9d9
commit 2314fd903b

View File

@@ -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;