From: Todd C. Miller Date: Wed, 29 Aug 2018 02:25:06 +0000 (-0600) Subject: Update conversion of DID_* to KEPT_* to match the new values of X-Git-Tag: SUDO_1_8_25^2~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ff78702633e63c10eb003b938687fa3ff42f65f;p=sudo Update conversion of DID_* to KEPT_* to match the new values of DID_* and KEPT_*. --- diff --git a/plugins/sudoers/env.c b/plugins/sudoers/env.c index 9b65c9fbd..9112ef51e 100644 --- a/plugins/sudoers/env.c +++ b/plugins/sudoers/env.c @@ -917,7 +917,7 @@ rebuild_env(void) env_update_didvar(*ep, &didvar); } } - didvar |= didvar << 8; /* convert DID_* to KEPT_* */ + didvar |= didvar << 16; /* convert DID_* to KEPT_* */ /* * Add in defaults. In -i mode these come from the runas user,