simon-git: putty (pre-0.64): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sat Dec 20 18:56:26 GMT 2014


TL;DR:
  dd0f1e5 Close the remote file handle if sftp_put_file's fstat fails.
  fe24f4d Add a missing freeaddrinfo() in Unix sk_newlistener.
  02dd708 Fix a handle leak in Windows PSFTP.

Repository:     git://git.tartarus.org/simon/putty.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=putty.git
Branch updated: pre-0.64
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2014-12-20 18:56:25

commit dd0f1e5cc7c5cc52d36a7c8e2fc6434887fd165e
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=dd0f1e5cc7c5cc52d36a7c8e2fc6434887fd165e;hp=8c09f85a64ff31d05f37304a041fd766507a19f0
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Dec 20 16:53:01 2014 +0000

    Close the remote file handle if sftp_put_file's fstat fails.
    
    Instead of abruptly returning from sftp_put_file in that situation, we
    now send an FXP_CLOSE instead. Patch due to Tim Kosse.

 psftp.c |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

commit fe24f4dfba2aa2db270427bb3d1f7c6cb7f19221
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=fe24f4dfba2aa2db270427bb3d1f7c6cb7f19221;hp=dd0f1e5cc7c5cc52d36a7c8e2fc6434887fd165e
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Dec 20 16:54:28 2014 +0000

    Add a missing freeaddrinfo() in Unix sk_newlistener.
    
    If we use getaddrinfo to translate the source IP address into a
    sockaddr, then we need to freeaddrinfo the returned data later. Patch
    due to Tim Kosse.

 unix/uxnet.c |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

commit 02dd708116bc5a5ece8041ddbd7fdca65c3f135d
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=02dd708116bc5a5ece8041ddbd7fdca65c3f135d;hp=fe24f4dfba2aa2db270427bb3d1f7c6cb7f19221
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Dec 20 18:42:22 2014 +0000

    Fix a handle leak in Windows PSFTP.
    
    We were checking the return value of CreateThread for validity, but
    not keeping it to free afterwards if it _was_ valid. Also, we weren't
    closing ctx->event in the valid case either. Patch due to Tim Kosse.

 windows/winsftp.c |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)



More information about the tartarus-commits mailing list