Why the limitation on Windows environnment introduced in OpenSSH 4.0?

kevin gurney kevin.gurney at oracle.com
Fri Nov 12 05:51:02 EST 2010


Here's the complete description of  *Bug 915* 
<https://bugzilla.mindrot.org/show_bug.cgi?id=915> - [PATCH] Only copy 
basic Windows environment:

    So far, the whole environment is copied over to child processes
    started from sshd when running under Cygwin.  The attached patch
    restricts this to the basic environment created for all processes.

(https://bugzilla.mindrot.org/show_bug.cgi?id=915)


Corinna Vinschen was the author of the bug report. Are you reading this 
list, Corinna?

Kevin

On 11/11/2010 10:44 AM, Peter Stuge wrote:
> kevin gurney wrote:
>   
>> Digging through source, I see that this change was introduced in v4.0
>> (the "fetch_windows_environment()" function in 
>> openbsd-compat/bsd-cygwin_util.c).
>>
>> Can anyone shed light on why this was thought to be a "bug" needing
>> fixing?
>>     
>
> What does the commit message for the change say? Look up which
> revision of that file introduced the change.
>
>
> //Peter
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>   

-- 
Oracle <http://www.oracle.com>
Kevin Gurney
Phone: +1 925 6943893 <tel:+1%20925%206943893>

Green Oracle <http://www.oracle.com/commitment> Oracle is committed to 
developing practices and products that help protect the environment


More information about the openssh-unix-dev mailing list