simon-git: putty (master): Owen Dunn

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sun Feb 19 14:05:06 GMT 2017


TL;DR:
  4455604 Make Windows sockets non-inheritable

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer:      Owen Dunn <owen at greenend.org.uk>
Date:           2017-02-19 14:05:06

commit 4455604dbce2d175ce1d601d51472bb1b0a535d8
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=4455604dbce2d175ce1d601d51472bb1b0a535d8;hp=efb4996d31588d82275e248426bb1046eedd570a
Author: Owen Dunn <owen at greenend.org.uk>
Date:   Sun Feb 19 13:49:12 2017 +0000

    Make Windows sockets non-inheritable
    
    When we create a socket with socket() (in try_connect, sk_newlistener, and
    ipv4_is_local_addr) also call SetHandleInformation to disable handle
    inheritance for this socket.  This fixes dup-sessions-dont-close.

 windows/winnet.c | 6 ++++++
 1 file changed, 6 insertions(+)



More information about the tartarus-commits mailing list