[sudo-commits] sudo changeset 5672:8e82ce63f774
Todd C. Miller
Todd.Miller at courtesan.com
Thu Jun 24 07:42:36 EDT 2010
changeset: 5672:8e82ce63f774 in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/8e82ce63f774
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Thu Jun 24 07:42:29 2010 -0400
Log Message:
If env_init() was called implicitly via getenv(), setenv() or putenv()
just use the specified envp instead of mallocing a new copy. This
prevents an infinite loop on OpenBSD which calls getenv() from malloc()
to get MALLOC_OPTIONS.
diffstat:
env.c | 44 +++++++++++++++++++++++++++++++-------------
sudo.c | 2 +-
sudo.h | 2 +-
3 files changed, 33 insertions(+), 15 deletions(-)
More information about the sudo-commits
mailing list