simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Fri Oct 12 23:30:50 BST 2018


TL;DR:
  dff3cd56 Fix assertion failure if server won't start a shell.

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-10-12 23:30:50

commit dff3cd562db1a5673a68bec172b566d640cf41f9
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=dff3cd562db1a5673a68bec172b566d640cf41f9;hp=b4c8fd9d86fdebac075967aa233128449da7ed57
Author: Simon Tatham <anakin at pobox.com>
Date:   Fri Oct 12 23:27:53 2018 +0100

    Fix assertion failure if server won't start a shell.
    
    In the recent refactoring, when I rewrote the loop in the SSH-2
    connection layer startup which tries the primary and then the fallback
    command, I failed to reproduce a subtlety of the previous code, namely
    that if CONF_remote_cmd2 holds the empty string, we don't even look
    for CONF_ssh_subsys2. This is because no application other than pscp
    will have set the latter, and looking it up when it's absent triggers
    an assertion failure in conf.c.

 ssh2connection.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)



More information about the tartarus-commits mailing list