environ problem in 3.8p1

Roger Cornelius rac at tenzing.org
Sat Mar 13 02:29:47 EST 2004


On Fri Mar 12 23:37, Darren Tucker wrote:
> Roger Cornelius wrote:
> 
> >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.
> 
> That was an attempt to fix issues with certain authentication types on 
> AIX, but it causes other problems, as you found.  The change has been 
> backed out, and an alternative fix for the AIX issues has been 
> implemented.  (Both will be in the next release, and are in the 
> snapshots now).
> 
> Thanks for the report.

No problem.  Thank you, and all the ssh team, for continuing to develop
openssh, and continuing to support SCO, despite their current litigation
attempts.

Roger




More information about the openssh-unix-dev mailing list