Skip to content
Snippets Groups Projects
Commit 0c21eb44 authored by Simon Tatham's avatar Simon Tatham
Browse files

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.
parent 6791bdc9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment