simon-git: putty (master): Ben Harris

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Mon May 11 22:49:34 BST 2015


TL;DR:
  830a454 Simplify ssh_pkt_addstring_str().
  6912888 Expand comment on BUG_SSH2_OLDGEX to make it clear why it's necessary.

Repository:     git://git.tartarus.org/simon/putty.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=putty.git
Branch updated: master
Committer:      Ben Harris <bjh21 at bjh21.me.uk>
Date:           2015-05-11 22:49:34

commit 830a454a42ef817c39ff3ed863b01795927a8132
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=830a454a42ef817c39ff3ed863b01795927a8132;hp=511d967d256f37cab8c7bd71e04f36c947bde551
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Sun May 10 21:12:37 2015 +0100

    Simplify ssh_pkt_addstring_str().
    
    It's just ssh_pkt_addstring_data but using strlen to get the length of
    string to add, so make that explicit by having it call
    ssh_pkt_addstring_data.  Good compilers should be unaffected by this
    change.

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

commit 6912888c8aea6a055f5350c7b2a97b189cd0455b
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=6912888c8aea6a055f5350c7b2a97b189cd0455b;hp=830a454a42ef817c39ff3ed863b01795927a8132
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Mon May 11 22:44:57 2015 +0100

    Expand comment on BUG_SSH2_OLDGEX to make it clear why it's necessary.
    
    I had wondered why we couldn't just catch SSH_MSG_UNIMPLEMENTED, and
    now I know: OpenSSH disconnects if the client sends
    SSH_MSG_KEX_DH_GEX_REQUEST.

 ssh.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)



More information about the tartarus-commits mailing list