From: Aaron Spangler Date: Tue, 7 Sep 2004 01:12:34 +0000 (+0000) Subject: Rare SEGV X-Git-Tag: SUDO_1_6_8p1~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=03b53b69113671c67bab3d39990f7f16473e4c68;p=sudo Rare SEGV --- diff --git a/env.c b/env.c index 0f565a921..4016d6156 100644 --- a/env.c +++ b/env.c @@ -153,6 +153,8 @@ zero_env(envp) static char *newenv[8]; extern char *prev_user; + nep = newenv; + for (ep = envp; *ep; ep++) { switch (**ep) { case 'H':