simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Tue Sep 25 09:04:29 BST 2018


TL;DR:
  cb6fa5ff Fix minor mishandling of session typeahead.
  f22d4420 Fix mishandling of user abort during SSH-1 auth.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2018-09-25 09:04:29

commit cb6fa5fff65bf7f7550cddd836c97b551b7bc7f1
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=cb6fa5fff65bf7f7550cddd836c97b551b7bc7f1;hp=2ca0070f891c464d4274bdc1c69709fd6b694bd7
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Sep 25 08:55:54 2018 +0100

    Fix minor mishandling of session typeahead.
    
    When the connection layer is ready to receive user input, it sets the
    flag causing ssh_ppl_want_user_input to return true. But one thing it
    _didn't_ do was to check whether the user input bufchain already had
    some data in it because the user had typed ahead of the session setup,
    and send that input immediately if so. Now it does.

 ssh1connection.c | 1 +
 ssh2connection.c | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

commit f22d442003900ebed2d3322d4c258d73d5c6cc1c
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=f22d442003900ebed2d3322d4c258d73d5c6cc1c;hp=cb6fa5fff65bf7f7550cddd836c97b551b7bc7f1
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Sep 25 08:58:46 2018 +0100

    Fix mishandling of user abort during SSH-1 auth.
    
    If the user presses ^C or ^D at an authentication prompt, I meant to
    handle that by calling ssh_user_close, i.e. treat the closure as being
    intentionally directed _by_ the user, and hence don't bother putting
    up a warning box telling the user it had happened.
    
    I got this right in ssh2userauth, but in ssh1login I mistakenly called
    ssh_sw_abort instead. That's what I get for going through all the
    subtly different session closures in a hurry trying to decide which of
    five categories each one falls into...

 ssh1login.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)



More information about the tartarus-commits mailing list