]> granicus.if.org Git - sudo/commit
Handle duplicate variables in the environment. For unsetenv(),
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 28 May 2010 13:42:50 +0000 (09:42 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 28 May 2010 13:42:50 +0000 (09:42 -0400)
commitc31ed2cd22edab8afd95f2f33f42db30a618c40e
tree56421e03cdd9a7b68c591d7acc0afa2e65173efc
parent12aedc6757a09a2c7916614e5bdf071bc2e549a7
Handle duplicate variables in the environment.  For unsetenv(),
keep looking even after remove the first instance.  For sudo_putenv(),
check for and remove dupes after we replace an existing value.
plugins/sudoers/env.c