simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sat Jun 15 21:40:03 BST 2019


TL;DR:
  67881a12 Add missing del234 in ssh_transient_hostkey_cache_add.

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:           2019-06-15 21:40:03

commit 67881a129cb4f6a426f502bbe6f11cc3790d9962
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=67881a129cb4f6a426f502bbe6f11cc3790d9962;hp=29cb7e40eb5e0a5bf33b4d6281f513a465231d41
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Jun 15 21:35:28 2019 +0100

    Add missing del234 in ssh_transient_hostkey_cache_add.
    
    The idea was that if we found a host key already cached for the given
    algorithm, we should remove it from the tree and free it. In fact, I
    forgot the 'remove from tree' step, so we freed a key that was still
    linked from the tree234. Depending on luck and platform, this could
    either cause a segfault, or an assertion failure on the subsequent
    attempt to add the new key in place of the not-removed-after-all old
    one.

 ssh2transhk.c | 1 +
 1 file changed, 1 insertion(+)



More information about the tartarus-commits mailing list