simon-git: putty (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Wed May 19 10:46:26 BST 2021


TL;DR:
  0c21eb44 cmdgen: add missing null pointer check in --dump mode.

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:           2021-05-19 10:46:26

commit 0c21eb444794512ba1106d4a3bc3380861566099
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=0c21eb444794512ba1106d4a3bc3380861566099;hp=6791bdc9b6edcf67a5da718b50c0444ac512c935
Author: Simon Tatham <anakin at pobox.com>
Date:   Wed May 19 10:42:42 2021 +0100

    cmdgen: add missing null pointer check in --dump mode.
    
    A user pointed out that once we've identified the key algorithm from
    an apparent public-key blob, we call ssh_key_new_pub on the blob data
    and assume it will succeed. But there are plenty of ways it could
    still fail, and ssh_key_new_pub could return NULL.

 cmdgen.c | 4 ++++
 1 file changed, 4 insertions(+)



More information about the tartarus-commits mailing list