mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 01:18:00 +00:00
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.
This commit is contained in:
parent
6791bdc9b6
commit
0c21eb4447
Loading…
Reference in New Issue
Block a user