2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-29 13:28:10 +00:00

Fix matching of "Path askpass" and "Path noexec"

This commit is contained in:
Todd C. Miller 2012-03-27 12:24:39 -04:00
parent 238186abc9
commit 8b3d118f62

View File

@ -105,10 +105,10 @@ static struct sudo_conf_data {
NULL,
{
#define SUDO_CONF_ASKPASS_IDX 0
{ "askpass", sizeof("askpass"), _PATH_SUDO_ASKPASS },
{ "askpass", sizeof("askpass") - 1, _PATH_SUDO_ASKPASS },
#ifdef _PATH_SUDO_NOEXEC
#define SUDO_CONF_NOEXEC_IDX 1
{ "noexec", sizeof("noexec"), _PATH_SUDO_NOEXEC },
{ "noexec", sizeof("noexec") - 1, _PATH_SUDO_NOEXEC },
#endif
{ NULL }
}