simon-git: putty (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Mon Apr 10 16:18:24 BST 2023


TL;DR:
  d67c13ee Fix potential null-pointer dereference in ssh_reconfig.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2023-04-10 16:18:24

commit d67c13eeb8bf64516aac6c2752eb835e9bc7105a
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=d67c13eeb8bf64516aac6c2752eb835e9bc7105a;hp=6a27ae772c6fb27f8ddb2bec508e3e403be2a516
Author: Simon Tatham <anakin at pobox.com>
Date:   Mon Apr 10 16:13:36 2023 +0100

    Fix potential null-pointer dereference in ssh_reconfig.
    
    ssh->base_layer is NULL when the connection is still in its early
    stages, before greetings are exchanged. If the user invokes the Change
    Settings dialog in this situation, ssh_reconfig would call
    ssh_ppl_reconfigure() on ssh->base_layer without checking if it was
    NULL first.

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



More information about the tartarus-commits mailing list