environ problem in 3.8p1
Roger Cornelius
rac at tenzing.org
Wed Mar 3 08:29:33 EST 2004
3.8p1 added the following to main() in sshd.c:
#ifndef HAVE_CYGWIN
/* Clear environment */
environ[0] = NULL;
#endif
This breaks the getenv("TZ") in session.c and causes logins to occur in
GMT time. It also causes any sshd syslog messages to be written in GMT
time. I'm on SCO Openserver 5.0.7, but this looks like it should affect
all platforms. Am I missing something? I haven't seen it reported
before.
Thanks.
--
Roger Cornelius rac at tenzing.org
More information about the openssh-unix-dev
mailing list